新增接口,调整配置文件

This commit is contained in:
wanggeng 2021-11-25 18:16:35 +08:00
parent 02782aca97
commit dc688f1e5f
3 changed files with 12 additions and 2 deletions

View File

@ -49,4 +49,14 @@ public class UserExpandController extends DefaultBaseController {
return userExpandService.get(userId);
}
@ApiOperation(value = "拓展属性(全部)详情", notes = "拓展属性(全部)详情接口")
@ApiImplicitParams({
@ApiImplicitParam(name = "userId", value = "用户ID", paramType = "path")
})
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
@GetMapping("get-whole/{userId}")
public UserExpandDTO getWhole(@PathVariable("userId") String userId) {
return userExpandService.getWhole(userId);
}
}

View File

@ -53,7 +53,7 @@ spring:
use-global-data-source-stat: true
data:
mongodb:
uri: mongodb://usercenter:usercenter@192.168.0.156:27017/smart-city-usercenter
uri: mongodb://smartcity:smartcity@192.168.0.156:27017/smartcity
mybatis:
config-location: classpath:mybatis/mybatis-config.xml

View File

@ -53,7 +53,7 @@ spring:
use-global-data-source-stat: true
data:
mongodb:
uri: mongodb://usercenter:usercenter@192.168.0.156:27017/smart-city-usercenter
uri: mongodb://smartcity:smartcity@192.168.0.156:27017/smartcity
mybatis:
config-location: classpath:mybatis/mybatis-config.xml