|
|
@@ -10,7 +10,6 @@ import ( |
|
|
|
v3 "github.com/iGoogle-ink/gopay/wechat/v3" |
|
|
|
"github.com/iGoogle-ink/gotil/xlog" |
|
|
|
"github.com/pkg/errors" |
|
|
|
"github.com/shopspring/decimal" |
|
|
|
) |
|
|
|
|
|
|
|
//自有支付 支付宝 |
|
|
@@ -146,10 +145,3 @@ func WxMiniProgPayV3(params *md.WxPayParams) (string, error) { |
|
|
|
r, err := local_wxpay.TradeMiniProgPayV3(client, params.Subject, params.OrdId, params.Amount, notifyUrl) |
|
|
|
return r, err |
|
|
|
} |
|
|
|
|
|
|
|
// 微信金额乘100 |
|
|
|
func wxMoneyMulHundred(m string) string { |
|
|
|
amount, _ := decimal.NewFromString(m) |
|
|
|
newM := amount.Mul(decimal.NewFromInt(100)) |
|
|
|
return newM.String() |
|
|
|
} |