From 588fa97648aac589731c1aae60dce37a666b6fec Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 19 十二月 2018 14:43:45 +0800
Subject: [PATCH] 删除定向计划相关代码

---
 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