新增实名认证环境判断
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();
|
$IdCard = new IdCard();
|
||||||
|
|
||||||
$params = array();
|
$params = array();
|
||||||
@ -118,7 +118,7 @@ class DoctorAuthService extends BaseService
|
|||||||
if (!empty($res)) {
|
if (!empty($res)) {
|
||||||
return fail(HttpEnumCode::HTTP_ERROR, $res);
|
return fail(HttpEnumCode::HTTP_ERROR, $res);
|
||||||
}
|
}
|
||||||
// }
|
}
|
||||||
|
|
||||||
Db::beginTransaction();
|
Db::beginTransaction();
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user