From bf8b10d060495e5bed467309f59fcadd79e8fdf3 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Mon, 15 May 2023 09:50:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=84=E6=96=B9=E5=BC=80?= =?UTF-8?q?=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/CaService.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/Services/CaService.php b/app/Services/CaService.php index 17f7471..5ce5ab3 100644 --- a/app/Services/CaService.php +++ b/app/Services/CaService.php @@ -82,7 +82,14 @@ class CaService extends BaseService } $user_sign_image_path = $user_doctor_info['sign_image']; - $this->user_entity_id = $user_doctor_info['user_id']; + + $app_env = config('APP_ENV','dev'); + if ($app_env == 'prod'){ + $this->user_entity_id = $user_doctor_info['user_id']; + }else{ + $this->user_entity_id = "491925054435950592"; + } + $this->card_num = $user_doctor_info['card_num']; } else { $user_pharmacist_info = UserPharmacistInfo::getOne($params);