Browse Source

代码

tall3
hyy-alt 4 years ago
parent
commit
079f8b4710
  1. 3
      common/src/main/java/com/ccsens/common/api/RoleController.java
  2. 12
      common/src/main/resources/application-dev.yml
  3. 12
      tall/src/main/resources/application-dev.yml

3
common/src/main/java/com/ccsens/common/api/RoleController.java

@ -32,7 +32,7 @@ public class RoleController {
@Resource
private IProRoleService proRoleService;
//@MustLogin
@MustLogin
@ApiOperation(value = "查询角色栏展示的角色",notes = "")
@ApiImplicitParams({
})
@ -40,7 +40,6 @@ public class RoleController {
public JsonResponse<RoleVo.QueryRole> queryByProjectVirtualRole(
@ApiParam @Validated @RequestBody QueryDto<RoleDto.QueryRole> params) throws Exception {
log.info("查询角色栏展示的角色:{}",params);
params.setUserId(1373938255183089664L);
RoleVo.QueryRole list = proRoleService.QueryShowRole(params.getParam(),params.getUserId());
log.info("查询角色栏展示的角色成功");
return JsonResponse.newInstance().ok(list);

12
common/src/main/resources/application-dev.yml

@ -29,6 +29,18 @@ spring:
timeout: 1000ms
swagger:
enable: true
mybatisCache:
database: 1
host: 127.0.0.1
jedis:
pool:
max-active: 200
max-idle: 10
max-wait: -1
min-idle: 0
password: ''
port: 6379
timeout: 1000
gatewayUrl: https://test.tall.wiki/gateway/
notGatewayUrl: /home/staticrec/logo.png

12
tall/src/main/resources/application-dev.yml

@ -30,6 +30,18 @@ spring:
timeout: 1000ms
swagger:
enable: true
mybatisCache:
database: 1
host: 127.0.0.1
jedis:
pool:
max-active: 200
max-idle: 10
max-wait: -1
min-idle: 0
password: ''
port: 6379
timeout: 1000
gatewayUrl: https://test.tall.wiki/gateway/
notGatewayUrl: /home/staticrec/logo.png

Loading…
Cancel
Save