forked from dyf/fys-Multi-tenant
Compare commits
1 Commits
fys-prod
...
7b842f5cc7
Author | SHA1 | Date | |
---|---|---|---|
7b842f5cc7 |
@ -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>
|
||||||
|
@ -52,7 +52,7 @@ 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.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
|
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: Jz_5623_cl1
|
password: Jz_5623_cl1
|
||||||
# # 从库数据源
|
# # 从库数据源
|
||||||
|
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* WebApp用户信息
|
* APP用户信息
|
||||||
*
|
*
|
||||||
* @author Lion Li
|
* @author Lion Li
|
||||||
* @date 2025-06-27
|
* @date 2025-06-27
|
||||||
@ -32,14 +32,14 @@ import com.fuyuanshen.common.mybatis.core.page.TableDataInfo;
|
|||||||
@Validated
|
@Validated
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/WebApp/user")
|
@RequestMapping("/app/user")
|
||||||
public class WebAppUserController extends BaseController {
|
public class AppUserController extends BaseController {
|
||||||
|
|
||||||
private final IAppUserService appUserService;
|
private final IAppUserService appUserService;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询APP用户信息列表
|
* 查询APP用户信息列表
|
||||||
*/
|
*/
|
||||||
// @SaCheckPermission("app:user:list")
|
// @SaCheckPermission("app:user:list")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
@ -67,7 +67,7 @@ public class WebAppUserController 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,5 +105,4 @@ public class WebAppUserController extends BaseController {
|
|||||||
@PathVariable Long[] userIds) {
|
@PathVariable Long[] userIds) {
|
||||||
return toAjax(appUserService.deleteWithValidByIds(List.of(userIds), true));
|
return toAjax(appUserService.deleteWithValidByIds(List.of(userIds), true));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
9
pom.xml
9
pom.xml
@ -83,10 +83,7 @@
|
|||||||
<monitor.username>fys</monitor.username>
|
<monitor.username>fys</monitor.username>
|
||||||
<monitor.password>123456</monitor.password>
|
<monitor.password>123456</monitor.password>
|
||||||
</properties>
|
</properties>
|
||||||
<!-- <activation> -->
|
|
||||||
<!-- <!– 默认环境 –> -->
|
|
||||||
<!-- <activeByDefault>true</activeByDefault> -->
|
|
||||||
<!-- </activation> -->
|
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>prod</id>
|
<id>prod</id>
|
||||||
@ -100,6 +97,10 @@
|
|||||||
<!-- 默认环境 -->
|
<!-- 默认环境 -->
|
||||||
<activeByDefault>true</activeByDefault>
|
<activeByDefault>true</activeByDefault>
|
||||||
</activation>
|
</activation>
|
||||||
|
<!-- <activation> -->
|
||||||
|
<!-- <!– 默认环境 –> -->
|
||||||
|
<!-- <activeByDefault>true</activeByDefault> -->
|
||||||
|
<!-- </activation> -->
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>jingquan</id>
|
<id>jingquan</id>
|
||||||
|
Reference in New Issue
Block a user