sth
This commit is contained in:
parent
713895c9c3
commit
ace5bd7f36
|
|
@ -154,6 +154,12 @@ class Dispatchrecord extends Backend
|
|||
$dispatch->follow = 1;
|
||||
}
|
||||
$dispatch->record_count ++;
|
||||
|
||||
//将其它的状态改掉
|
||||
Dispatchrecord::where('dispatch_id',$dispatch->id)->where('status',0)->update([
|
||||
'status' => 1,
|
||||
]);
|
||||
|
||||
//$params['admin_id'] = $this->auth->id;
|
||||
$result = $this->model->allowField(true)->save($params);
|
||||
$dispatch->allowField(true)->save();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user