From 818a0170d8f2950d52cc7300a302356bbc523236 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期六, 14 九月 2024 11:27:10 +0800
Subject: [PATCH] 应用管理、租户管理、菜单权限管理等修改

---
 iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/social/SocialClientServiceImpl.java |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/social/SocialClientServiceImpl.java b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/social/SocialClientServiceImpl.java
index 6873b1c..c0a400f 100644
--- a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/social/SocialClientServiceImpl.java
+++ b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/social/SocialClientServiceImpl.java
@@ -38,6 +38,7 @@
 import me.chanjar.weixin.mp.api.WxMpService;
 import me.chanjar.weixin.mp.api.impl.WxMpServiceImpl;
 import me.chanjar.weixin.mp.config.impl.WxMpRedisConfigImpl;
+import org.springframework.beans.factory.annotation.Value;
 import org.springframework.data.redis.core.StringRedisTemplate;
 import org.springframework.stereotype.Service;
 
@@ -59,6 +60,16 @@
 @Slf4j
 public class SocialClientServiceImpl implements SocialClientService {
 
+    /**
+     * 小程序版本
+     *
+     * 1. release:正式版
+     * 2. trial:体验版
+     * 3. developer:开发版
+     */
+    @Value("${yudao.wxa-code.env-version:release}")
+    public String envVersion;
+
     @Resource
     private AuthRequestFactory authRequestFactory;
 

--
Gitblit v1.9.3