fix and code
This commit is contained in:
@@ -3,13 +3,14 @@ package service
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/smartwalle/alipay/v3"
|
||||
mathrand "math/rand"
|
||||
"net/http"
|
||||
"strconv"
|
||||
"time"
|
||||
"tydata-server/app/user/cmd/api/internal/config"
|
||||
"tydata-server/pkg/lzkit/lzUtils"
|
||||
|
||||
"github.com/smartwalle/alipay/v3"
|
||||
)
|
||||
|
||||
type AliPayService struct {
|
||||
@@ -23,7 +24,6 @@ func NewAliPayService(c config.Config) *AliPayService {
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("创建支付宝客户端失败: %v", err))
|
||||
}
|
||||
|
||||
//// 加载支付宝公钥
|
||||
//err = client.LoadAliPayPublicKey(c.Alipay.AlipayPublicKey)
|
||||
//if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user