浏览代码

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相关