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);