新增接口,调整配置文件
This commit is contained in:
parent
02782aca97
commit
dc688f1e5f
@ -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);
|
||||
}
|
||||
|
||||
}
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user