wupengfei 2 年之前
父節點
當前提交
e8006d9b7f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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'];
             }