智慧保安后台管理-验收版本
Administrator
2021-08-25 df577d901e09267d2e2ef597d063e3d6f3454bff
src/main/java/org/springblade/modules/system/controller/UserController.java
@@ -165,7 +165,7 @@
   public R submit(@Valid @RequestBody User user) {
      CacheUtil.clear(USER_CACHE);
      //资格审查
      String body = InvestigateUtil.httpGet(user.getCardid());
      String body = InvestigateUtil.httpGetOne(user.getCardid());
      JSONObject jsonObject = new JSONObject(body);
      String data = jsonObject.get("data").toString();
      JSONObject jsonData = new JSONObject(data);
@@ -175,7 +175,7 @@
         user.setExaminationType("0");
      }else {
         user.setExaminationType("1");
         user.setExaminationMx(res.getJSONObject(0).get("zdxsfzqkry").toString());
         user.setExaminationMx(res.getJSONObject(0).get("zdrylbjh").toString());
      }
      return R.status(userService.submit(user));
   }