xieruidong 2 年之前
父节点
当前提交
b30ea61ff4
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      application/api/controller/mall/Orders.php

+ 4 - 1
application/api/controller/mall/Orders.php

@@ -280,7 +280,10 @@ class Orders extends Api
             $this->_validate([
                 'fix_order_no|维修订单号'=>['require',],
             ]);
-            $fixOrder=Order::statusPay()->where('order_no',$data['fix_order_no'])->where('pay_time',Cache::get("user_order_show_{$user['id']}",null))->find();
+            $fixOrder=Order::statusPay()
+                ->where('order_no',$data['fix_order_no'])
+                ->where('pay_time',Cache::get("user_order_show_{$user['id']}",null))
+                ->find();
             if(!$fixOrder){
                 $this->error('请完成维修订单支付');
             }