From e50954f0708ecbbc672352102ae3b24279d40cc1 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 16 四月 2026 20:12:50 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/gtzxinglijicun

---
 server/services/src/main/java/com/doumee/config/wx/SendWxMessage.java |   34 ----------------------------------
 1 files changed, 0 insertions(+), 34 deletions(-)

diff --git a/server/services/src/main/java/com/doumee/config/wx/SendWxMessage.java b/server/services/src/main/java/com/doumee/config/wx/SendWxMessage.java
index 7ade5c2..1200713 100644
--- a/server/services/src/main/java/com/doumee/config/wx/SendWxMessage.java
+++ b/server/services/src/main/java/com/doumee/config/wx/SendWxMessage.java
@@ -5,7 +5,6 @@
 import com.doumee.core.constants.Constants;
 import com.doumee.core.utils.DateUtil;
 import com.doumee.core.utils.HttpsUtil;
-import com.doumee.dao.business.model.IdentityInfo;
 import lombok.extern.slf4j.Slf4j;
 import me.chanjar.weixin.common.error.WxErrorException;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -29,38 +28,5 @@
 
     @Autowired
     private SystemDictDataBiz systemDictDataBiz;
-
-    /**
-     * 淇℃伅璁よ瘉
-     * @param openid
-     * @param identityInfo
-     * @throws WxErrorException
-     */
-    public  void  identityInfoMessage(String openid, IdentityInfo identityInfo){
-        try{
-
-            String accessToken = WxMiniConfig.wxMaService.getAccessToken();
-            log.info("寰俊灏忕▼搴�->寰俊娑堟伅閫氱煡 - 璁よ瘉淇℃伅  -> accessToken锛歿}",accessToken);
-            //杩欓噷绠�鍗曡捣瑙佹垜浠瘡娆¢兘鑾峰彇鏈�鏂扮殑access_token锛堟椂闂村紑鍙戜腑锛屽簲璇ュ湪access_token蹇繃鏈熸椂鍐嶉噸鏂拌幏鍙栵級
-            String url = "https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token="+accessToken;
-            //鎷兼帴鎺ㄩ�佺殑妯$増
-            WxMsgVO wxMsgVO = new WxMsgVO();
-            //鐢ㄦ埛鐨刼penid锛堣鍙戦�佺粰閭d釜鐢ㄦ埛锛�
-            wxMsgVO.setTouser(openid);
-            //璁㈤槄娑堟伅妯℃澘id
-            wxMsgVO.setTemplate_id("VJho7-lf-4_WZFfOzenDnX6sOhYBJWwkLExVjBB563U");
-            Map<String, TemplateData> m = new HashMap<>(4);
-            m.put("thing2", new TemplateData(Constants.equalsInteger(identityInfo.getType(),Constants.ZERO)?"鐢ㄥ伐璁よ瘉":Constants.equalsInteger(identityInfo.getType(),Constants.ONE)?"杩愯揣璁よ瘉":"渚涢璁よ瘉"));
-            m.put("phrase6", new TemplateData(Constants.equalsInteger(identityInfo.getAuditStatus(),Constants.TWO)?"閫氳繃":"鏈�氳繃"));
-            m.put("time12", new TemplateData(DateUtil.formatDate(identityInfo.getAuditTime(),"yyyy-MM-dd HH:mm")));
-            wxMsgVO.setPage(mineUrl);
-            wxMsgVO.setData(m);
-            log.error("寰俊灏忕▼搴�->寰俊娑堟伅閫氱煡 璁よ瘉淇℃伅锛歿}", JSONObject.toJSONString(wxMsgVO));
-            String responseEntity  = HttpsUtil.postJson(url,JSONObject.toJSONString(wxMsgVO));
-            log.error("寰俊灏忕▼搴�->寰俊娑堟伅閫氱煡 璁よ瘉淇℃伅锛歿}", JSONObject.toJSONString(responseEntity));
-        }catch (WxErrorException wxErrorException){
-
-        }
-    }
 
 }

--
Gitblit v1.9.3