去除环境配置,放开实名认证

This commit is contained in:
wucongxing 2023-02-22 08:35:16 +08:00
parent 097f1da063
commit 7604576cd3
2 changed files with 3 additions and 3 deletions

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 {

View File

@ -51,7 +51,7 @@ class OrderPrescriptionService extends BaseService
// "patient_age",
// "created_at",
// ];
$fields = [];
$page = $this->request->input('page', 1);
$per_page = $this->request->input('per_page', 10);
return OrderPrescription::getPage($params, $fields);