From e142433c71b032ce85546477543d65da0f3986b8 Mon Sep 17 00:00:00 2001
From: liyj <15602261488@163.com>
Date: Sat, 21 Sep 2024 13:20:48 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/gzdyh_test' into gzdyh_test

---
 dyh-service/dyh-cust/src/main/java/cn/huge/module/wechat/miniapp/service/WeixinMaService.java |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/dyh-service/dyh-cust/src/main/java/cn/huge/module/wechat/miniapp/service/WeixinMaService.java b/dyh-service/dyh-cust/src/main/java/cn/huge/module/wechat/miniapp/service/WeixinMaService.java
index c5f30ad..63dc303 100644
--- a/dyh-service/dyh-cust/src/main/java/cn/huge/module/wechat/miniapp/service/WeixinMaService.java
+++ b/dyh-service/dyh-cust/src/main/java/cn/huge/module/wechat/miniapp/service/WeixinMaService.java
@@ -11,8 +11,6 @@
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
-import javax.annotation.PostConstruct;
-
 /**
  * @title: 小程序服务
  * @description: 小程序服务
@@ -55,6 +53,17 @@
 //        this.refreshRouter();
 //    }
 
+//    public void createConfig(SeCustWechatDTO seCustWechatDTO) {
+//        final WxMaInMemoryConfig config = new WxMaInMemoryConfig();
+//        config.setAppid(seCustWechatDTO.getAppid());// 设置微信公众号的appid
+//        config.setSecret(seCustWechatDTO.getSecret());// 设置微信公众号的app corpSecret
+//        config.setToken(seCustWechatDTO.getToken());// 设置微信公众号的token
+//        config.setAesKey(seCustWechatDTO.getAeskey());// 设置消息加解密密钥
+//        super.setWxMaConfig(config);
+//
+//        this.refreshRouter();
+//    }
+
     public void createConfig(SeCustWechatDTO seCustWechatDTO) {
         final WxMaInMemoryConfig config = new WxMaInMemoryConfig();
         config.setAppid(seCustWechatDTO.getAppid());// 设置微信公众号的appid

--
Gitblit v1.8.0