|
@@ -253,8 +253,10 @@ public class IotedgeCollectDataController extends JeecgController<IotedgeCollect
|
|
|
@AutoLog(value = "IoTEdge-SSO-判断用户是否存在")
|
|
|
@ApiOperation(value="IoTEdge-SSO-判断用户是否存在", notes="IoTEdge-SSO-判断用户是否存在")
|
|
|
@PostMapping(value = "/ifUserInSoo")
|
|
|
- public JSONObject ifUserNameInSSO(@RequestParam(name = "userName") String userName){
|
|
|
- return restClientService.ifUserInSSO(userName);
|
|
|
+ public Result<Boolean> ifUserNameInSSO(@RequestParam(name = "userName") String userName){
|
|
|
+ JSONObject jsonObject = restClientService.ifUserInSSO(userName);
|
|
|
+ Boolean existing = (Boolean) jsonObject.get("existing");
|
|
|
+ return Result.OK(existing);
|
|
|
}
|
|
|
|
|
|
|