diff --git a/app/Services/UserService.php b/app/Services/UserService.php index a96bee3..a5d2a85 100644 --- a/app/Services/UserService.php +++ b/app/Services/UserService.php @@ -866,6 +866,11 @@ class UserService extends BaseService } } + // 无需发送 + if ($user_system['is_accept_im_message_push'] == 0){ + return true; + } + $message = "您有一条新的问诊消息"; // 判断消息类型 if (isset($msg_body[0]['MsgType'])){