feat 命名规范
This commit is contained in:
@@ -79,6 +79,60 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/qgdzs/auth/point/info": {
|
||||
"post": {
|
||||
"summary": "获取学识分",
|
||||
"operationId": "Qgdzs_GetPoint",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/GetPointResp"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/GetPointReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"Qgdzs"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/qgdzs/auth/point/record": {
|
||||
"post": {
|
||||
"summary": "---------- 学识分 ----------\n获取学识分获取记录",
|
||||
"operationId": "Qgdzs_GetPointRecord",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/GetPointRecordResp"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/GetPointRecordReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"Qgdzs"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/qgdzs/open/category/answer": {
|
||||
"post": {
|
||||
"summary": "回答题目",
|
||||
@@ -470,6 +524,82 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetPointRecordItem": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"source": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"title": "来源"
|
||||
},
|
||||
"point": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"title": "学识分"
|
||||
},
|
||||
"create_time": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"title": "创建时间"
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetPointRecordReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"usn": {
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
},
|
||||
"page": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"page_size": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
},
|
||||
"title": "---------- GetPointRecord ----------"
|
||||
},
|
||||
"GetPointRecordResp": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"title": "总数"
|
||||
},
|
||||
"records": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/GetPointRecordItem"
|
||||
},
|
||||
"title": "记录"
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetPointReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"usn": {
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
}
|
||||
},
|
||||
"title": "---------- GetPoint ----------"
|
||||
},
|
||||
"GetPointResp": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"point": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"title": "学识分"
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetQuestionInfoReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user