喻健
2018-12-19 9f09e749e7198051b9af6c2421336a80b58b79a4
fanli/src/main/java/com/yeshi/fanli/controller/client/UserInfoController.java
@@ -699,16 +699,9 @@
      JSONObject data = new JSONObject();
      data.put("user", user);
      Gson gson = new GsonBuilder().excludeFieldsWithoutExposeAnnotation().create();
      String maxError = "5";
      maxError = configService.get(PASSWORD_MAX_ERROR); // 当日输错密码最多次数
      PassWordErrorRecord record = passWordErrorRecordService.getRecord(uid);
      int max = Integer.parseInt(maxError);
      if (record.getCount() >= max) {
         data.put("error", "1"); // 达到最多限制
      } else {
         data.put("error", "0");
      }
      data.put("maxError", maxError);
      data.put("error", "0");
      data.put("maxError", 1);
      String minMoney = configService.get(EXTRACT_MIN_MONEY); // 单笔提现的最小金额
      String maxMoney = configService.get(EXTRACT_MAX_MONEY); // 单笔提现的最大金额
      int maxDayCount = Integer.parseInt(configService.get("extract_count_day"));