|
|
@ -56,12 +56,12 @@ class CommunicationRecords extends BaseAdminController |
|
|
["resource_type",""], |
|
|
["resource_type",""], |
|
|
["communication_type",""], |
|
|
["communication_type",""], |
|
|
["communication_result",""], |
|
|
["communication_result",""], |
|
|
["communication_time","2025-05-19 13:11:39"], |
|
|
["communication_time",date('Y-m-d H:i:s')], |
|
|
["remarks",""], |
|
|
["remarks",""], |
|
|
["tag",""], |
|
|
["tag",""], |
|
|
|
|
|
|
|
|
]); |
|
|
]); |
|
|
$this->validate($data, 'app\validate\communication_records\CommunicationRecords.add'); |
|
|
// $this->validate($data, 'app\validate\communication_records\CommunicationRecords.add'); |
|
|
return (new CommunicationRecordsService())->add($data); |
|
|
return (new CommunicationRecordsService())->add($data); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -76,12 +76,12 @@ class CommunicationRecords extends BaseAdminController |
|
|
["resource_type",""], |
|
|
["resource_type",""], |
|
|
["communication_type",""], |
|
|
["communication_type",""], |
|
|
["communication_result",""], |
|
|
["communication_result",""], |
|
|
["communication_time","2025-05-19 13:11:39"], |
|
|
["communication_time",date('Y-m-d H:i:s')], |
|
|
["remarks",""], |
|
|
["remarks",""], |
|
|
["tag",""], |
|
|
["tag",""], |
|
|
|
|
|
|
|
|
]); |
|
|
]); |
|
|
$this->validate($data, 'app\validate\communication_records\CommunicationRecords.edit'); |
|
|
// $this->validate($data, 'app\validate\communication_records\CommunicationRecords.edit'); |
|
|
return (new CommunicationRecordsService())->edit($id, $data); |
|
|
return (new CommunicationRecordsService())->edit($id, $data); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|