修改问诊类型判断

This commit is contained in:
wucongxing 2023-08-24 15:36:46 +08:00
parent 6562fee46e
commit 20cd849f71
2 changed files with 3 additions and 1 deletions

View File

@ -170,6 +170,8 @@ function inquiryTypeToString(int|string $inquiry_type): string
$result = "公益问诊";
} elseif ($inquiry_type == 4) {
$result = "问诊购药";
} elseif ($inquiry_type == 5) {
$result = "检测问诊";
} else {
$result = "未知";
}

View File

@ -445,7 +445,7 @@ class MessagePush extends BaseService
if (!$result) {
Log::getInstance("MessagePush")->error("错误:加入推送队列失败" . json_encode($data, JSON_UNESCAPED_UNICODE));
}
} catch (\Exception $e) {
} catch (\Throwable $e) {
Log::getInstance("MessagePush")->error("错误:加入推送队列失败" . $e->getMessage());
}
}