工单
This commit is contained in:
@@ -35,6 +35,9 @@ class ConversationService
|
||||
{
|
||||
try {
|
||||
$data['attachment'] = serialize($data['attachment']);
|
||||
if (empty($data['content'])) {
|
||||
throw new BusinessException('消息内容不能为空');
|
||||
}
|
||||
return (new ConversationLogic())->add($data);
|
||||
} catch (\Throwable $e) {
|
||||
throw $e;
|
||||
|
||||
Reference in New Issue
Block a user