识别返回请求的是哪台服务器
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user