mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 12:18:42 +08:00 
			
		
		
		
	✨ Member:完善微信相关配置
This commit is contained in:
		@@ -194,20 +194,24 @@ debug: false
 | 
			
		||||
--- #################### 微信公众号、小程序相关配置 ####################
 | 
			
		||||
wx:
 | 
			
		||||
  mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档
 | 
			
		||||
    #    app-id: wx041349c6f39b268b
 | 
			
		||||
    #    secret: 5abee519483bc9f8cb37ce280e814bd0
 | 
			
		||||
    app-id: wx5b23ba7a5589ecbb # 测试号
 | 
			
		||||
#    app-id: wx041349c6f39b268b # 测试号(牛希尧提供的)
 | 
			
		||||
#    secret: 5abee519483bc9f8cb37ce280e814bd0
 | 
			
		||||
    app-id: wx5b23ba7a5589ecbb # 测试号(自己的)
 | 
			
		||||
    secret: 2a7b3b20c537e52e74afd395eb85f61f
 | 
			
		||||
#    app-id: wxa69ab825b163be19 # 测试号(Kongdy 提供的)
 | 
			
		||||
#    secret: bd4f9fab889591b62aeac0d7b8d8b4a0
 | 
			
		||||
    # 存储配置,解决 AccessToken 的跨节点的共享
 | 
			
		||||
    config-storage:
 | 
			
		||||
      type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取
 | 
			
		||||
      key-prefix: wx # Redis Key 的前缀
 | 
			
		||||
      http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台
 | 
			
		||||
  miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档
 | 
			
		||||
    #    appid: wx62056c0d5e8db250
 | 
			
		||||
    #    appid: wx62056c0d5e8db250 # 测试号(牛希尧提供的)
 | 
			
		||||
    #    secret: 333ae72f41552af1e998fe1f54e1584a
 | 
			
		||||
    appid: wx63c280fe3248a3e7 # wenhualian的接口测试号
 | 
			
		||||
    secret: 6f270509224a7ae1296bbf1c8cb97aed
 | 
			
		||||
#    appid: wxc4598c446f8a9cb3 # 测试号(Kongdy 提供的)
 | 
			
		||||
#    secret: 4a1a04e07f6a4a0751b39c3064a92c8b
 | 
			
		||||
    config-storage:
 | 
			
		||||
      type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取
 | 
			
		||||
      key-prefix: wa # Redis Key 的前缀
 | 
			
		||||
@@ -257,7 +261,6 @@ justauth:
 | 
			
		||||
      client-id: ${wx.mp.app-id}
 | 
			
		||||
      client-secret: ${wx.mp.secret}
 | 
			
		||||
      ignore-check-redirect-uri: true
 | 
			
		||||
      ignore-check-state: true # 微信公众号,未调用后端的 getSocialAuthorizeUrl 方法,所以无法进行 state 校验 TODO 芋艿:后续考虑支持
 | 
			
		||||
 | 
			
		||||
  cache:
 | 
			
		||||
    type: REDIS
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user