lip 3 月之前
父節點
當前提交
6b1773f8f0
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      app/admin/controller/Complaint.php

+ 4 - 0
app/admin/controller/Complaint.php

@@ -67,7 +67,11 @@ class Complaint extends BaseController
             if (!$complaint) {
             if (!$complaint) {
                 return $this->error('投诉项不存在');
                 return $this->error('投诉项不存在');
             }
             }
+            if ($complaint->status == 1) {
+                return $this->error('已处理');
+            }
             $complaint->result = $result;
             $complaint->result = $result;
+            $complaint->operation_id = $this->admin_id;
             $complaint->save();
             $complaint->save();
         } catch (Exception $e) {
         } catch (Exception $e) {
             return $this->error($e->getMessage());
             return $this->error($e->getMessage());