diff --git a/app/Services/DoctorAuthService.php b/app/Services/DoctorAuthService.php index 0efb59e..1d38d13 100644 --- a/app/Services/DoctorAuthService.php +++ b/app/Services/DoctorAuthService.php @@ -122,7 +122,7 @@ class DoctorAuthService extends BaseService // 网易易盾认证 // 实人认证-生产环境开启 $app_env = config('app_env','dev'); - if ($app_env == "dev"){ + if ($app_env != "dev"){ $IdCard = new IdCard(); $params = array(); diff --git a/app/Services/PatientFamilyService.php b/app/Services/PatientFamilyService.php index e6359f4..e71cef0 100644 --- a/app/Services/PatientFamilyService.php +++ b/app/Services/PatientFamilyService.php @@ -175,7 +175,7 @@ class PatientFamilyService extends BaseService // 实人认证-生产环境开启 $app_env = config('app_env', 'dev'); - if ($app_env == "dev") { + if ($app_env != "dev") { $IdCard = new IdCard(); $params = array();