新增问诊结束消息通知
This commit is contained in:
@@ -280,7 +280,7 @@ class SendSubMessageConsumer extends ConsumerMessage
|
||||
* 接收所有异常
|
||||
* 只返回true,失败情况不处理
|
||||
* @param string|int $user_type
|
||||
* @return bool
|
||||
* @return void
|
||||
* @throws ClientExceptionInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws DecodingExceptionInterface
|
||||
@@ -289,7 +289,7 @@ class SendSubMessageConsumer extends ConsumerMessage
|
||||
* @throws ServerExceptionInterface
|
||||
* @throws TransportExceptionInterface
|
||||
*/
|
||||
private function downSubTemplate(string|int $user_type): bool
|
||||
private function downSubTemplate(string|int $user_type): void
|
||||
{
|
||||
try {
|
||||
Log::getInstance()->info("下载微信消息订阅模版");
|
||||
@@ -297,7 +297,7 @@ class SendSubMessageConsumer extends ConsumerMessage
|
||||
$weChat = new Wechat($user_type);
|
||||
$result = $weChat->getTemplate();
|
||||
if (empty($result)){
|
||||
return true;
|
||||
return;
|
||||
}
|
||||
|
||||
$template = json_decode($result, true);
|
||||
@@ -327,6 +327,5 @@ class SendSubMessageConsumer extends ConsumerMessage
|
||||
}
|
||||
|
||||
Log::getInstance()->info("下载微信消息订阅模版成功");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user