1
This commit is contained in:
@@ -113,6 +113,7 @@ class UserPharmacistService extends BaseService
|
||||
|
||||
$order_prescription_id = $this->request->route('order_prescription_id');
|
||||
$pharmacist_audit_status = $this->request->route('pharmacist_audit_status');
|
||||
$pharmacist_fail_reason = $this->request->route('pharmacist_fail_reason');
|
||||
|
||||
// 验证器未验证未0的情况
|
||||
if ($pharmacist_audit_status == 0){
|
||||
@@ -154,8 +155,28 @@ class UserPharmacistService extends BaseService
|
||||
return fail(HttpEnumCode::HTTP_ERROR,"处方已审核,请勿重复审核");
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
|
||||
|
||||
return success($order_prescription->toArray());
|
||||
}
|
||||
|
||||
public function getPharmacistInfo(): array
|
||||
{
|
||||
$user_info = $this->request->getAttribute("userInfo") ?? [];
|
||||
|
||||
// 获取药师数据
|
||||
$params = array();
|
||||
$params['user_id'] = $user_info['user_id'];
|
||||
$user_pharmacist = UserPharmacist::getOne($params);
|
||||
if (empty($user_pharmacist)) {
|
||||
return fail();
|
||||
}
|
||||
|
||||
// 获取药师详情数据
|
||||
$params = array();
|
||||
$params['user_id'] = $user_info['user_id'];
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user