Sfoglia il codice sorgente

fix:添加海通小程序

Roc 7 mesi fa
parent
commit
8a75fd1fc7
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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
+		}
 	}
 	//日志配置
 	{