Преглед на файлове

fix:添加海通小程序

Roc преди 7 месеца
родител
ревизия
8a75fd1fc7
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      utils/config.go

+ 3 - 0
utils/config.go

@@ -210,6 +210,9 @@ func init() {
 		WxAppSecretHt = config["wx_ht_app_secret"]
 		// WxHtAppId 海通小程序
 		WxHtAppId = config["wx_ht_miniprogram_appid"]
+		if WxAppIdHt != "" && WxAppSecretHt != "" {
+			WxAppList[WxAppIdHt] = WxAppSecretHt
+		}
 	}
 	//日志配置
 	{