xieruidong 2 years ago
parent
commit
250d584884

+ 7 - 0
application/api/controller/mall/Orders.php

@@ -204,4 +204,11 @@ class Orders extends Api
         $data=$order->makePayInfo($data['pay_type']);
         $this->success('',$data);
     }
+
+    /**
+     * 退货退款
+     */
+    public function refund(){
+
+    }
 }

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

@@ -55,7 +55,7 @@ class OrderPayService{
    public function companyBank(){}
    public function wechat(){
         $payData=Service::submitOrder(
-            $this->getAmount(),
+            $this->getAmount('f'),
             $this->payment->order_no,
             'wechat',
             $this->getBody(),