From 086c45d5d05eb8aa1e4367223a5b454caf514d64 Mon Sep 17 00:00:00 2001 From: mofangmin Date: Wed, 21 Aug 2024 16:59:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E9=87=91=E9=A2=9D=E4=B8=BA?= =?UTF-8?q?=E5=85=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/pay/eanipay/base.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/pay/eanipay/base.go b/modules/pay/eanipay/base.go index 766532e..483e0fc 100644 --- a/modules/pay/eanipay/base.go +++ b/modules/pay/eanipay/base.go @@ -98,6 +98,7 @@ func (s *Sub) GetResp() (proto.Message, error) { func (s *Sub) PackPayReq() interface{} { r := s.Base.PayReq + r.Amount /= 100 send := &PayReq{ MerchantTradeNo: r.OrderID, Amount: fmt.Sprintf("%d", r.Amount), @@ -119,6 +120,7 @@ func (s *Sub) PackPayReq() interface{} { func (s *Sub) PackWithdrawReq() interface{} { r := s.Base.WithdrawReq + r.Amount /= 100 send := &WithdrawReq{ MerchantTradeNo: r.OrderID, Amount: fmt.Sprintf("%d", r.Amount),