This commit is contained in:
苏尹岚
2021-01-15 09:38:58 +08:00
parent f3dd1b3e1e
commit 74b902e4e5
3 changed files with 24 additions and 13 deletions

View File

@@ -92,6 +92,9 @@ func getWxApp(appID string) (miniApi *weixinapi.API) {
if len(appID) > 0 && appID == api.WeixinMiniAppID2 {
miniApi = api.WeixinMiniAPI2
}
if len(appID) > 0 && appID == api.WeixinMiniAppIDsc {
miniApi = api.WeixinMiniAPIsc
}
return miniApi
}