修改推送

This commit is contained in:
2024-04-26 14:24:51 +08:00
parent 2f666ff37c
commit 80a0285705
3 changed files with 36 additions and 19 deletions
+23
View File
@@ -381,4 +381,27 @@ function inquiryModeToString(int|string $inquiry_mode): string
$result = "未知";
}
return $result;
}
/**
* 转换订单类型为汉字
* @param int|string $order_type
* @return string
*/
function orderTypeToString(int|string $order_type): string
{
if ($order_type == 1) {
$result = "问诊订单";
} elseif ($order_type == 2) {
$result = "药品订单";
} elseif ($order_type == 3) {
$result = "检测订单";
} elseif ($order_type == 4) {
$result = "随访包";
} elseif ($order_type == 5) {
$result = "健康包";
} else {
$result = "未知";
}
return $result;
}