1
0

16 Commits

Author SHA1 Message Date
c34a39a308 WebApp用户信息 2025-08-21 15:11:22 +08:00
b08d23eef4 Merge branch 'main' into fys-prod
# Conflicts:
#	fys-admin/src/main/resources/application-prod.yml
2025-08-21 09:59:23 +08:00
add0738b28 Merge remote-tracking branch 'origin/main' 2025-08-21 09:55:26 +08:00
b61c9c7a06 配置文件提交 2025-08-21 09:54:42 +08:00
8106d09e67 生产配置 2025-08-20 16:53:27 +08:00
425ea306e3 Merge branch 'main' into fys-prod 2025-08-20 16:48:48 +08:00
285abaedfb Merge branch 'main' into fys-prod 2025-08-15 14:37:23 +08:00
0b0cc84eea Merge branch 'main' into fys-prod 2025-08-04 09:39:08 +08:00
f2c7549d6e Merge branch 'main' into fys-prod 2025-07-31 09:24:23 +08:00
17ed75f54a Merge branch 'main' into fys-prod 2025-07-23 19:26:46 +08:00
80b944cbf0 Merge remote-tracking branch 'upstream/main' into fys-prod
# Conflicts:
#	fys-admin/pom.xml
2025-07-23 10:57:03 +08:00
537cc0b2d7 Merge branch 'main' into fys-prod
# Conflicts:
#	pom.xml
2025-07-21 08:45:53 +08:00
6dde6c3a3b 去掉demo 2025-07-21 08:42:21 +08:00
38724dbfad Merge branch 'main' into fys-prod 2025-07-19 15:58:51 +08:00
73e1df4232 Merge branch 'main' into fys-prod 2025-07-18 16:30:02 +08:00
e35955f156 prod 2025-07-17 17:27:14 +08:00
4 changed files with 25 additions and 24 deletions

View File

@ -94,10 +94,10 @@
</dependency> </dependency>
<!-- demo模块 --> <!-- demo模块 -->
<!--<dependency> <!-- <dependency> -->
<groupId>com.fuyuanshen</groupId> <!-- <groupId>com.fuyuanshen</groupId> -->
<artifactId>fys-demo</artifactId> <!-- <artifactId>fys-demo</artifactId> -->
</dependency>--> <!-- </dependency> -->
<!-- 工作流模块 --> <!-- 工作流模块 -->
<dependency> <dependency>

View File

@ -52,9 +52,9 @@ spring:
driverClassName: com.mysql.cj.jdbc.Driver driverClassName: com.mysql.cj.jdbc.Driver
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 # jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题) # rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
url: jdbc:mysql://47.120.79.150:3306/fys-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true url: jdbc:mysql://47.107.152.87:3306/fys-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
username: root username: root
password: Jq_123456# password: Jz_5623_cl1
# # 从库数据源 # # 从库数据源
# slave: # slave:
# lazy: true # lazy: true
@ -101,13 +101,13 @@ spring:
spring.data: spring.data:
redis: redis:
# 地址 # 地址
host: 47.120.79.150 host: 47.107.152.87
# 端口默认为6379 # 端口默认为6379
port: 6379 port: 6379
# 数据库索引 # 数据库索引
database: 1 database: 1
# redis 密码必须配置 # redis 密码必须配置
password: xhYc_djkl382^#780! password: re_fs_11520631
# 连接超时时间 # 连接超时时间
timeout: 10s timeout: 10s
# 是否开启ssl # 是否开启ssl
@ -177,14 +177,14 @@ sms:
# 框架定义的厂商名称标识,标定此配置是哪个厂商,详细请看厂商标识介绍部分 # 框架定义的厂商名称标识,标定此配置是哪个厂商,详细请看厂商标识介绍部分
supplier: alibaba supplier: alibaba
# 有些称为accessKey有些称之为apiKey也有称为sdkKey或者appId。 # 有些称为accessKey有些称之为apiKey也有称为sdkKey或者appId。
access-key-id: LTAI5tJdDNpZootsPQ5hdELx access-key-id: LTAI5tDGfJd4kMvrGtvyzCHz
# 称为accessSecret有些称之为apiSecret # 称为accessSecret有些称之为apiSecret
access-key-secret: mU4WtffcCXpHPz5tLwQpaGtLsJXONt access-key-secret: a4ZlVHVSYeMQHn0p1R18thA6xCdHQh
#模板ID 非必须配置如果使用sendMessage的快速发送需此配置 #模板ID 非必须配置如果使用sendMessage的快速发送需此配置
template-id: SMS_322180518 template-id: SMS_324526343
#模板变量 上述模板的变量 #模板变量 上述模板的变量
templateName: code templateName: code
signature: 湖北星汉研创科技 signature: 深圳市富源晟科技
config2: config2:
# 厂商标识,标定此配置是哪个厂商,详细请看厂商标识介绍部分 # 厂商标识,标定此配置是哪个厂商,详细请看厂商标识介绍部分
supplier: tencent supplier: tencent
@ -280,12 +280,13 @@ justauth:
# MQTT配置 # MQTT配置
mqtt: mqtt:
username: admin username: admin
password: #YtvpSfCNG password: fys123456
url: tcp://47.120.79.150:2883 url: tcp://47.107.152.87:1883
subClientId: fys_subClient subClientId: fys_subClient
subTopic: A/#,B/#,worker/location/# subTopic: A/#,worker/location/#
pubTopic: B/# pubTopic: B/#
pubClientId: fys_pubClient pubClientId: fys_pubClient
enabled: false
# 文件存储路径 # 文件存储路径

View File

@ -24,7 +24,7 @@ import com.fuyuanshen.app.service.IAppUserService;
import com.fuyuanshen.common.mybatis.core.page.TableDataInfo; import com.fuyuanshen.common.mybatis.core.page.TableDataInfo;
/** /**
* APP用户信息 * WebApp用户信息
* *
* @author Lion Li * @author Lion Li
* @date 2025-06-27 * @date 2025-06-27
@ -32,8 +32,8 @@ import com.fuyuanshen.common.mybatis.core.page.TableDataInfo;
@Validated @Validated
@RequiredArgsConstructor @RequiredArgsConstructor
@RestController @RestController
@RequestMapping("/app/user") @RequestMapping("/WebApp/user")
public class AppUserController extends BaseController { public class WebAppUserController extends BaseController {
private final IAppUserService appUserService; private final IAppUserService appUserService;
@ -67,7 +67,7 @@ public class AppUserController extends BaseController {
@SaCheckPermission("app:user:query") @SaCheckPermission("app:user:query")
@GetMapping("/{userId}") @GetMapping("/{userId}")
public R<AppUserVo> getInfo(@NotNull(message = "主键不能为空") public R<AppUserVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable Long userId) { @PathVariable Long userId) {
return R.ok(appUserService.queryById(userId)); return R.ok(appUserService.queryById(userId));
} }
@ -105,4 +105,5 @@ public class AppUserController extends BaseController {
@PathVariable Long[] userIds) { @PathVariable Long[] userIds) {
return toAjax(appUserService.deleteWithValidByIds(List.of(userIds), true)); return toAjax(appUserService.deleteWithValidByIds(List.of(userIds), true));
} }
} }

View File

@ -83,7 +83,10 @@
<monitor.username>fys</monitor.username> <monitor.username>fys</monitor.username>
<monitor.password>123456</monitor.password> <monitor.password>123456</monitor.password>
</properties> </properties>
<!-- <activation> -->
<!-- &lt;!&ndash; 默认环境 &ndash;&gt; -->
<!-- <activeByDefault>true</activeByDefault> -->
<!-- </activation> -->
</profile> </profile>
<profile> <profile>
<id>prod</id> <id>prod</id>
@ -97,10 +100,6 @@
<!-- 默认环境 --> <!-- 默认环境 -->
<activeByDefault>true</activeByDefault> <activeByDefault>true</activeByDefault>
</activation> </activation>
<!-- <activation> -->
<!-- &lt;!&ndash; 默认环境 &ndash;&gt; -->
<!-- <activeByDefault>true</activeByDefault> -->
<!-- </activation> -->
</profile> </profile>
<profile> <profile>
<id>jingquan</id> <id>jingquan</id>