Explorar el Código

fix:添加海通小程序

Roc hace 7 meses
padre
commit
8a75fd1fc7
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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
+		}
 	}
 	//日志配置
 	{