quguofeng %!s(int64=2) %!d(string=hai) anos
pai
achega
60a6f345e0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/controller/api/store/order/StoreOrder.php

+ 1 - 0
app/controller/api/store/order/StoreOrder.php

@@ -350,6 +350,7 @@ class StoreOrder extends BaseController
             ]);
             //更改订单状态
             $order->status = 0;
+            $order->pay_price = $order->pay_price + $pay_money;
             $order->save();
         }
         return app('json')->success('支付成功');