Compare commits

...

1 Commits

Author SHA1 Message Date
ayflying
74a746bc47 修改路径 2025-02-28 17:45:44 +08:00
29 changed files with 7 additions and 7 deletions

View File

@@ -2,7 +2,7 @@ package cmd
import (
"context"
"github.com/ayflying/utility_go/s3"
"github.com/ayflying/utility_go/package/s3"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/net/ghttp"
"github.com/gogf/gf/v2/os/gcfg"

View File

@@ -2,7 +2,7 @@ package act
import (
"fmt"
"github.com/ayflying/utility_go/aycache"
"github.com/ayflying/utility_go/package/aycache"
"github.com/ayflying/utility_go/service"
"github.com/gogf/gf/v2/container/gvar"
"github.com/gogf/gf/v2/os/gctx"

View File

@@ -2,10 +2,10 @@ package gameAct
import (
"fmt"
"github.com/ayflying/utility_go/aycache"
"github.com/ayflying/utility_go/internal/game/act"
"github.com/ayflying/utility_go/internal/model/do"
"github.com/ayflying/utility_go/internal/model/entity"
"github.com/ayflying/utility_go/package/aycache"
service2 "github.com/ayflying/utility_go/service"
"github.com/ayflying/utility_go/tools"
"github.com/gogf/gf/v2/container/gset"

View File

@@ -1,7 +1,7 @@
package aycache
import (
"github.com/ayflying/utility_go/aycache/drive"
"github.com/ayflying/utility_go/package/aycache/drive"
"github.com/gogf/gf/v2/os/gcache"
)

View File

@@ -2,7 +2,7 @@ package pay
import (
"context"
playstore2 "github.com/ayflying/utility_go/pay/playstore"
"github.com/ayflying/utility_go/package/pay/playstore"
"github.com/gogf/gf/v2/errors/gerror"
"github.com/gogf/gf/v2/os/gctx"
"github.com/gogf/gf/v2/text/gstr"
@@ -16,14 +16,14 @@ var (
// GooglePay 是一个处理Google支付的结构体。
type GooglePay struct {
c *playstore2.Client
c *playstore.Client
}
// Init 初始化GooglePay客户端。
// data: 初始化客户端所需的配置数据。
func (p *GooglePay) Init(data []byte) {
var err error
p.c, err = playstore2.New(data)
p.c, err = playstore.New(data)
if err != nil {
panic(err) // 如果初始化失败则panic。
}