| | |
| | | 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"));
|