Quellcode durchsuchen

判断SSO是否存在用户修改

丁治程 vor 2 Wochen
Ursprung
Commit
89b734286d

+ 1 - 1
jeecg-module-interlock/src/main/java/org/jeecg/modules/iotedgeCollectData/controller/IotedgeCollectDataController.java

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