Kirin hace 4 años
padre
commit
c182ddd3ff
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      app/api/controller/admin/StoreOrderController.php

+ 2 - 1
app/api/controller/admin/StoreOrderController.php

@@ -965,7 +965,8 @@ class StoreOrderController
             ['id', ''],
             ['id', ''],
             ['refund_price', 0],
             ['refund_price', 0],
             ['type', 1],
             ['type', 1],
-        ]);
+        ], $request);
+        var_dump($data);
         if (!$data['id']) return app('json')->fail('数据不存在');
         if (!$data['id']) return app('json')->fail('数据不存在');
         $orderInfo = StoreExchangeOrder::where('id', $data['id'])->where('store_id', SystemStoreStaff::where('uid', $uid)->value('store_id'))->where('refund_status', 0)->find();
         $orderInfo = StoreExchangeOrder::where('id', $data['id'])->where('store_id', SystemStoreStaff::where('uid', $uid)->value('store_id'))->where('refund_status', 0)->find();
         if (!$orderInfo) return app('json')->fail('订单不存在于该门店或未支付或已退款');
         if (!$orderInfo) return app('json')->fail('订单不存在于该门店或未支付或已退款');