Commit 20049884 authored by 韩桐桐's avatar 韩桐桐

fix(jg):新增从redis查询登录人信息接口

parent 85a63dba
......@@ -63,6 +63,13 @@ public class CommonController extends BaseController {
CodeUtil codeUtil;
@TycloudOperation(ApiLevel = UserType.AGENCY)
@GetMapping(value = "/currentLoginInfo")
@ApiOperation(httpMethod = "GET", value = "当前登录人信息", notes = "当前登录人信息")
public ResponseModel<ReginParams> getChildren() {
return ResponseHelper.buildResponse(getSelectedOrgInfo());
}
@TycloudOperation(ApiLevel = UserType.AGENCY)
@GetMapping(value = "/getChildren")
@ApiOperation(httpMethod = "GET", value = "通过设备种类code获取设备类别", notes = "通过设备种类code获取设备类别")
public ResponseModel<List<EquipmentCategory>> getChildren(@RequestParam(value = "code", required = false) String code,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment