This commit is contained in:
xman 2025-06-04 20:59:13 +08:00
parent 459f094718
commit 3cac6fd6fe
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ class Dispatch2 extends Backend
}
if($row->btn_record){
if($row->follow ==1 ){
if($row->follow == 0 ){
$row->btn_record = true;
}else{
$row->btn_record = false;

View File

@ -139,8 +139,8 @@ class Dispatchrecord extends Backend
}
}
$dispatch->follow = 1;
$dispatch->record_count ++;
}
$dispatch->record_count ++;
$params['admin_id'] = $this->auth->id;
$result = $this->model->allowField(true)->save($params);
$dispatch->save();