فهرست منبع

fix:常量名称改成配置化

Roc 1 سال پیش
والد
کامیت
66fe6d91b6
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      utils/config.go

+ 5 - 0
utils/config.go

@@ -41,6 +41,8 @@ var (
 	WxYbAppId string
 	// WxCygxAppId 查研观向小程序
 	WxCygxAppId string
+	// 不知道这是啥,先配置上去吧
+	WxCopyYbAppId string
 )
 
 // LibreOfficePath LibreOfficePath的地址
@@ -170,6 +172,9 @@ func init() {
 		WxYbAppId = config["wx_yb_miniprogram_appid"]
 		// WxCygxAppId 查研观向小程序
 		WxCygxAppId = config["wx_cygx_miniprogram_appid"]
+
+		// WxCopyYbAppId 不知道这是啥,先配置上去吧
+		WxCopyYbAppId = config["wx_copy_yb_miniprogram_appid"]
 	}
 
 	// OSS相关