新增用药天数
This commit is contained in:
@@ -70,6 +70,7 @@ class OrderPrescriptionService extends BaseService
|
||||
$data['single_use'] = $order_prescription_product['single_use'] ?? "";
|
||||
$data['packaging_unit'] = $order_prescription_product['packaging_unit'] ?? "";
|
||||
$data['frequency_use'] = $order_prescription_product['frequency_use'] ?? "";
|
||||
$data['available_days'] = $order_prescription_product['available_days'] ?? 0;
|
||||
|
||||
$result[] = $data;
|
||||
}
|
||||
|
||||
@@ -1149,8 +1149,6 @@ class UserDoctorService extends BaseService
|
||||
// 获取医生信息
|
||||
$params = array();
|
||||
$params['doctor_id'] = $user_info['client_user_id'];
|
||||
|
||||
|
||||
$user_doctor = UserDoctor::getOne($params);
|
||||
if (empty($user_doctor)) {
|
||||
return fail(HttpEnumCode::HTTP_ERROR, "非法医生");
|
||||
|
||||
Reference in New Issue
Block a user