修改推送
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user