This commit is contained in:
houseme
2025-02-04 19:38:17 +00:00
committed by GitHub
6 changed files with 1 additions and 252 deletions
+1 -3
View File
@@ -30,9 +30,7 @@ miniprogram := wc.GetMiniProgram(&miniConfig.Config{
AppSecret: "xxx",
AppKey: "xxx",
OfferID: "xxx",
Cache: cache.NewRedis(&redis.Options{
Addr: "",
}),
Cache: cache.NewMemory(),
})
virtualPayment := miniprogram.GetVirtualPayment()
virtualPayment.SetSessionKey("xxx")