diff --git a/src/views/port/sys/index.vue b/src/views/port/sys/index.vue index 9fbca79..1094ecb 100644 --- a/src/views/port/sys/index.vue +++ b/src/views/port/sys/index.vue @@ -9,13 +9,13 @@

{{ price }}/次

- 测试API - 测试API - 测试API - 测试API - 测试API - 测试API - 测试API + 测试API + 测试API + 测试API + 测试API + 测试API + 测试API + 测试API @@ -116,7 +116,7 @@ - + years: {{this.formBirthday.years}}
months: {{this.formBirthday.months}}
days: {{this.formBirthday.days}}
@@ -149,7 +149,7 @@ - + @@ -195,8 +195,45 @@ +
-

服务级错误码参照(error_code)

+ +

服务级错误码参照(error_code)

+ + + + + + + + + +
错误码说明
{{ errorCode.code }}{{ errorCode.description }}
+ +

系统级错误码参照

+ + + + + + + + + +
错误码说明
{{ errorCode.code }}{{ errorCode.description }}
+ +

错误格式说明(示例200201):

+ + + + + + + + + +
2002
{{ errorCode.code }}{{ errorCode.description }}
+
@@ -214,6 +251,18 @@ import {phonePlace ,getIpPlace,getWeatherForecast,getHeadlines,getWeather,getBir export default { data() { return { + Cods: [ + { code: '服务级错误(1为系统级错误)', description: '服务模块代码(即数据ID)' }, + ], + Codes: [ + { code: '10001', description: '错误的请求KEY' }, + { code: '10002', description: '该KEY无请求权限' }, + { code: '10003', description: 'KEY过期' }, + { code: '10004', description: '系统内部异常' }, + ], + errorCodes: [ + { code: '203201', description: '错误的经纬度' }, + ], // 邮编查询 formPostCode:{ code:"", @@ -473,4 +522,19 @@ export default { white-space: pre-wrap; word-wrap: break-word; } + + +table { + border-collapse: collapse; +} + +th, td { + border: 1px solid black; + padding: 10px; + text-align: left; +} + +th { + background-color: #f2f2f2; +}