update
This commit is contained in:
parent
c2e1a5ae4d
commit
24ca2e343f
@ -49,7 +49,7 @@
|
||||
'follow_type' => $params['follow_type'],
|
||||
'executor' => $params['executor'],
|
||||
'content' => $params['content'],
|
||||
'annex' => $params['annex'],
|
||||
'annex' => $params['annex'] ? json_encode($params['annex']) : null,
|
||||
'next_follow_up_date' => strtotime($params['next_follow_up_date']),
|
||||
'add_user_id' => $adminId,
|
||||
]);
|
||||
@ -82,7 +82,7 @@
|
||||
'follow_type' => $params['follow_type'],
|
||||
'executor' => $params['executor'],
|
||||
'content' => $params['content'],
|
||||
'annex' => $params['annex'],
|
||||
'annex' => $params['annex'] ? json_encode($params['annex']) : null,
|
||||
'next_follow_up_date' => strtotime($params['next_follow_up_date']),
|
||||
]);
|
||||
Db::commit();
|
||||
|
@ -37,9 +37,10 @@
|
||||
'id' => 'require|checkLog',
|
||||
'project_id' => 'require|checkProject',
|
||||
'theme' => 'require',
|
||||
'date' => 'require|date',
|
||||
'date' => 'require|dateFormat:Y-m-d',
|
||||
'follow_type' => 'require|checkFollowType',
|
||||
'next_follow_up_date' => 'date|checkNextFollowUpDate',
|
||||
'next_follow_up_date' => 'dateFormat:Y-m-d|checkNextFollowUpDate',
|
||||
'annex' => 'checkAnnex'
|
||||
];
|
||||
|
||||
protected $message = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user