提交 d321e526 authored 作者: gukai's avatar gukai

Merge branch 'alibaba'

......@@ -5,7 +5,6 @@ import (
"github.com/gogf/gf/encoding/gjson"
"github.com/gogf/gf/frame/g"
"github.com/gogf/gf/util/gconv"
"gitlab.jxhh.com/stbz/library.git/upstream/ali"
)
type orderAli struct {
......@@ -237,14 +236,6 @@ func (s *orderAli) Pay(ctx context.Context, orderSn string) (res *CommonRes, err
})
_ = gjson.New(result).Scan(&res)
//更换接口临时过渡
if !res.Success{
var aliRes *ali.CommonRes
aliRes,err = ali.Order.Pay(ctx,orderSn)
_ = gconv.Struct(aliRes,&res)
}
return
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论