获取医生每日最大接诊数量、检测是否可以接诊、创建问诊订单
This commit is contained in:
@@ -165,11 +165,14 @@ class InquiryService extends BaseService
|
||||
}
|
||||
}
|
||||
|
||||
// 检测当前是否符合系统问诊时间
|
||||
$inquiryService = new InquiryService();
|
||||
$is_system_time_pass = $inquiryService->checkSystemInquiryTime($request_params['inquiry_type']);
|
||||
if (!$is_system_time_pass && $request_params['inquiry_type'] == 4) {
|
||||
return fail(HttpEnumCode::HTTP_ERROR, "当前非医生接诊时间");
|
||||
// 问诊购药
|
||||
if ($request_params['inquiry_type'] == 4){
|
||||
// 检测当前是否符合系统问诊时间
|
||||
$inquiryService = new InquiryService();
|
||||
$is_system_time_pass = $inquiryService->checkSystemInquiryTime($request_params['inquiry_type']);
|
||||
if (!$is_system_time_pass) {
|
||||
return fail(HttpEnumCode::HTTP_ERROR, "当前非医生接诊时间");
|
||||
}
|
||||
}
|
||||
|
||||
// 定义优惠卷金额默认值
|
||||
|
||||
Reference in New Issue
Block a user