|
@@ -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());
|