Merge pull request 'update' (#179) from zhangwei into dev
Reviewed-on: #179
This commit is contained in:
commit
3ece35ade3
@ -59,6 +59,10 @@ class ProjectManagerAppointmentLogic extends BaseLogic
|
|||||||
'remark' => $params['remark'],
|
'remark' => $params['remark'],
|
||||||
'annex' => $params['annex']? json_encode($params['annex']) : null,
|
'annex' => $params['annex']? json_encode($params['annex']) : null,
|
||||||
]);
|
]);
|
||||||
|
Project::where('id',$params['project_id'])->update([
|
||||||
|
'status' => 4,
|
||||||
|
'update_time' => time(),
|
||||||
|
]);
|
||||||
Db::commit();
|
Db::commit();
|
||||||
return true;
|
return true;
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user