xxxrrrdddd 2 years ago
parent
commit
7de46c5856
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common/service/Refund.php

+ 1 - 1
application/common/service/Refund.php

@@ -31,7 +31,7 @@ class Refund{
         $res=Service::getApp('wechat',Service::refundUrl('wechat',$this->mobileOrder['pay_no']))->refund([
             'transaction_id'=>$this->mobileOrder['pay_no'],
             'out_refund_no'=>$this->mobileOrder['refund_no'],
-            'total_fee'=>$this->mobileOrder['amount'],
+            'total_fee'=>$this->mobileOrder['amount']*100,
             'refund_fee'=>$this->getAmount(),
             'op_user_id'=>Service::getWechatOpUser(),
         ]);