فهرست منبع

修改关注提示语

liujiankang 6 سال پیش
والد
کامیت
525f6ba504

+ 4 - 0
watero-common-tool/src/main/java/com/iamberry/wechat/tools/ResultInfo.java

@@ -181,6 +181,10 @@ public class ResultInfo {
 	 * 	付费代理商支付后推送推荐人通知  	模版id	
 	 */
 	public static String prize_receive_push="";
+	/**
+	 * 	2019 38 妇女节活动回复语
+	 */
+	public static String female_lady_reply="";
 
 
 

+ 1 - 0
watero-common-tool/src/main/java/com/iamberry/wechat/tools/loadResultUtil.java

@@ -74,6 +74,7 @@ public class loadResultUtil {
 			ResultInfo.probation_pay_success = prop.getProperty("probation_pay_success");	//订单支付成功
 			ResultInfo.probation_shut_down = prop.getProperty("probation_shut_down");		//订单关闭通知	 	模版id	TM00984
 			ResultInfo.prize_receive_push = prop.getProperty("prize_receive_push");			//付费代理商支付后推送推荐人通知  	模版id
+			ResultInfo.female_lady_reply = prop.getProperty("female_lady_reply");			//2019 38 妇女节活动回复语
 
 
 

+ 4 - 4
watero-wechat-service/src/main/java/com/iamberry/wechat/service/wechat/WeChatServiceImpl.java

@@ -395,16 +395,16 @@ public class WeChatServiceImpl implements WeChatService {
 			// 判断此用户是否已有资格
 			FullReduction fullReduction = memberDao.getFullReduction(fromUserName);
 			if (fullReduction != null) {
-				StringBuffer buffer = new StringBuffer(NameUtils.getConfig("FEMALE_LADY_REPLY"));
-				return buffer.toString();
+				/*StringBuffer buffer = new StringBuffer(NameUtils.getConfig("FEMALE_LADY_REPLY"));*/
+				return ResultInfo.female_lady_reply;
 			}
 			// 绑定关系
 			int count = memberDao.addFullReduction(fromUserName);
 			if (count < 1) {
 				return NameUtils.getConfig("FEMALE_LADY_ERROR");
 			}else{
-				StringBuffer buffer = new StringBuffer(NameUtils.getConfig("FEMALE_LADY_REPLY"));
-				return buffer.toString();
+				/*StringBuffer buffer = new StringBuffer(NameUtils.getConfig("FEMALE_LADY_REPLY"));*/
+				return ResultInfo.female_lady_reply;
 			}
 		}else{
 			return NameUtils.getConfig("FEMALE_LADY_INTRODUCE");

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 1
watero-wechat-web/src/main/resources/ResultInfo.properties