Merge pull request 'update' (#179) from zhangwei into dev

Reviewed-on: #179
This commit is contained in:
weiz 2024-01-15 15:48:46 +08:00
commit 3ece35ade3

View File

@ -59,6 +59,10 @@ class ProjectManagerAppointmentLogic extends BaseLogic
'remark' => $params['remark'],
'annex' => $params['annex']? json_encode($params['annex']) : null,
]);
Project::where('id',$params['project_id'])->update([
'status' => 4,
'update_time' => time(),
]);
Db::commit();
return true;
} catch (\Exception $e) {