This commit is contained in:
weiz 2023-12-14 11:43:21 +08:00
parent 6056a262f5
commit 67ef107733

View File

@ -38,7 +38,7 @@ class ProjectLogsValidate extends BaseValidate
'project_id' => 'require|checkProject', 'project_id' => 'require|checkProject',
'theme' => 'require', 'theme' => 'require',
'date' => 'require|date', 'date' => 'require|date',
'follow_type' => 'checkFollowType', 'follow_type' => 'require|checkFollowType',
'next_follow_up_date' => 'date|checkNextFollowUpDate', 'next_follow_up_date' => 'date|checkNextFollowUpDate',
]; ];
@ -48,6 +48,7 @@ class ProjectLogsValidate extends BaseValidate
'theme.require' => '主题不能为空', 'theme.require' => '主题不能为空',
'date.require' => '日期不能为空', 'date.require' => '日期不能为空',
'date.date' => '日期格式不正确', 'date.date' => '日期格式不正确',
'follow_type.require' => '请选择类型',
'next_follow_up_date.date' => '下次跟进时间格式不正确', 'next_follow_up_date.date' => '下次跟进时间格式不正确',
]; ];