|
@@ -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 Result<Boolean> ifUserNameInSSO(@RequestBody String userName){
|
|
|
- JSONObject jsonObject = restClientService.ifUserInSSO(userName);
|
|
|
+ public Result<Boolean> ifUserNameInSSO(@RequestBody String userNames){
|
|
|
+ JSONObject jsonObject1 = JSONObject.parseObject(userNames);
|
|
|
+ String userName1 = (String) jsonObject1.get("userName");
|
|
|
+ JSONObject jsonObject = restClientService.ifUserInSSO(userName1);
|
|
|
Boolean existing = (Boolean) jsonObject.get("existing");
|
|
|
return Result.OK(existing);
|
|
|
}
|