修改问诊类型判断
This commit is contained in:
parent
6562fee46e
commit
20cd849f71
@ -170,6 +170,8 @@ function inquiryTypeToString(int|string $inquiry_type): string
|
||||
$result = "公益问诊";
|
||||
} elseif ($inquiry_type == 4) {
|
||||
$result = "问诊购药";
|
||||
} elseif ($inquiry_type == 5) {
|
||||
$result = "检测问诊";
|
||||
} else {
|
||||
$result = "未知";
|
||||
}
|
||||
|
||||
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user