@@ -195,8 +195,45 @@
+
-
服务级错误码参照(error_code)
+
+ 服务级错误码参照(error_code)
+
+
+ 错误码 |
+ 说明 |
+
+
+ {{ errorCode.code }} |
+ {{ errorCode.description }} |
+
+
+
+ 系统级错误码参照
+
+
+ 错误码 |
+ 说明 |
+
+
+ {{ errorCode.code }} |
+ {{ errorCode.description }} |
+
+
+
+ 错误格式说明(示例200201):
+
+
+ 2 |
+ 002 |
+
+
+ {{ 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;
+}