|
|
@ -69,6 +69,22 @@ public class SysUserController { |
|
|
|
return R.ok("false","ok"); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 获取致远用户 |
|
|
|
* @param code |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@GetMapping("/getSyUser") |
|
|
|
public R<?> getSyUser(String code){ |
|
|
|
SeeYonRequestBaseService service = SpringUtils.getBean(SeeYonRequestBaseService.class); |
|
|
|
if(!StringUtils.hasText(code)){ |
|
|
|
return R.ok(); |
|
|
|
} |
|
|
|
R<String> rs = service.getBase(TbsSeeYonConst.OA_USER_INFO+"?code="+code,null); |
|
|
|
String listJson = rs.getMsg(); |
|
|
|
return R.ok(JSONUtil.parse(listJson)); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 获取致远用户列表 |
|
|
|
* @param code |
|
|
|