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

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

View File

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