新增实名认证环境判断

This commit is contained in:
wucongxing 2023-02-22 10:40:46 +08:00
parent 357d779d2c
commit db6f451f24

View File

@ -108,7 +108,7 @@ class DoctorAuthService extends BaseService
// 网易易盾认证
// 实人认证-生产环境开启
// if (env("APP_ENV") == "prod") {
if (env("APP_ENV") == "prod") {
$IdCard = new IdCard();
$params = array();
@ -118,7 +118,7 @@ class DoctorAuthService extends BaseService
if (!empty($res)) {
return fail(HttpEnumCode::HTTP_ERROR, $res);
}
// }
}
Db::beginTransaction();
try {