|
|
|
@ -64,7 +64,8 @@ class Im extends BaseController |
|
|
|
return warning(lang('im.exist')); |
|
|
|
} |
|
|
|
$message=$message->toArray(); |
|
|
|
|
|
|
|
$content = $param['content'] ?? ''; |
|
|
|
|
|
|
|
$userInfo=$this->userInfo; |
|
|
|
try{ |
|
|
|
$is_group=0; |
|
|
|
@ -81,6 +82,7 @@ class Im extends BaseController |
|
|
|
$error++; |
|
|
|
continue; |
|
|
|
} |
|
|
|
$msgInfo['content'] = $content ?: $msgInfo['content']; |
|
|
|
$msgInfo['id']=\utils\Str::getUuid(); |
|
|
|
$msgInfo['status']='successd'; |
|
|
|
$msgInfo['user_id']=$userInfo['user_id']; |
|
|
|
|