From 9f09e749e7198051b9af6c2421336a80b58b79a4 Mon Sep 17 00:00:00 2001
From: 喻健 <喻健@Admin>
Date: 星期三, 19 十二月 2018 16:33:12 +0800
Subject: [PATCH] 当日提现成功超过100元 返回高危标识

---
 fanli/src/main/java/com/yeshi/fanli/controller/client/UserInfoController.java |   13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/UserInfoController.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/UserInfoController.java
index fe705c0..7a591f9 100644
--- a/fanli/src/main/java/com/yeshi/fanli/controller/client/UserInfoController.java
+++ b/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"));

--
Gitblit v1.8.0