新增实名认证环境判断
This commit is contained in:
parent
357d779d2c
commit
db6f451f24
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user