diff --git a/app/Services/CaService.php b/app/Services/CaService.php index 14f5149..b4669e2 100644 --- a/app/Services/CaService.php +++ b/app/Services/CaService.php @@ -67,7 +67,12 @@ class CaService extends BaseService if ($type == 1){ // 医院 $this->sign_image_path = "basic/file/hospital_signature.png"; - $this->entity_id = "534534546"; + $app_env = config('app_env','dev'); + if ($app_env == 'prod'){ + $this->entity_id = "1"; + }else{ + $this->entity_id = "534534546"; + } $this->card_num = "91510106MABTJY4K9R"; }elseif($type == 2){ // 用户