wupengfei 2 vuotta sitten
vanhempi
commit
e8006d9b7f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      application/purchase/controller/OfflineOrderRefund.php

+ 1 - 1
application/purchase/controller/OfflineOrderRefund.php

@@ -109,7 +109,7 @@ class OfflineOrderRefund extends PurBase
         if($this->request->isPost()) {
             // 审核人id
             if($this->request->action() == 'audit') {
-                $order_sh = \app\common\model\OfflineOrderRefund::where('id',$data['id'])->value('sh_status');
+                $order_sh = \app\common\model\OfflineOrder::where('id',$data['id'])->value('sh_status');
                 if($order_sh == 1) $this->error('已审核通过,不能修改');
                 $data['audit_user'] = $this->admin_user['id'];
             }