识别返回请求的是哪台服务器

This commit is contained in:
2025-01-04 09:02:22 +08:00
parent 0eb20df38c
commit 2852aeec1b
2 changed files with 2 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ class JsonResponseFormatter extends \yii\web\JsonResponseFormatter
private static $param = [
'param' => [],
'result' => [],
'url' => '',
'url' => ''
];
private $defaultErrorCode = -1;
@@ -34,6 +34,7 @@ class JsonResponseFormatter extends \yii\web\JsonResponseFormatter
$result['data'] = $data;
$result['msg'] = $msg;
$result['errcode'] = $errno;
$result['ecs'] = env('ECS');
return $result;
}

View File

@@ -135,22 +135,18 @@ JJvBfLfudYNUjUCyW3gAcOIJ
'secret' => '61ce8912-25e6-46cf-82eb-81412294a53d'
],
'aseList' => [
// 'name',
'contact',
'mobile',
'express_address',
'clinical_diagnose',
// 'drug_name',
'drug_alias',
'function',
'usage',
'express_mobile',
'express_name',
'express_region',
'doctor',
'accept_tel',
'patient',
'accept_name',
'patient_mobile',
# 身份证
'id_card',