kgen 平台接口

This commit is contained in:
lianghuanjie
2025-01-13 19:48:14 +08:00
parent 2b9a1acce2
commit d592615908
9 changed files with 322 additions and 0 deletions

View File

@@ -393,6 +393,50 @@
]
}
},
"/gapi/kgen/task": {
"get": {
"summary": "KGeN任务完成检查",
"operationId": "KGeNTaskCheck",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/KGeNResult"
}
}
},
"parameters": [
{
"name": "x-api-key",
"description": " api key",
"in": "header",
"required": true,
"type": "string"
},
{
"name": "email",
"description": " 邮箱",
"in": "query",
"required": true,
"type": "string"
},
{
"name": "type",
"description": " 1.在官网注册(是否) 2.链接钱包(是否) 3.下载并绑定游戏账号(是否)",
"in": "query",
"required": true,
"type": "integer",
"format": "int8"
}
],
"tags": [
"kgen"
],
"consumes": [
"multipart/form-data"
]
}
},
"/gapi/task/v1/community": {
"get": {
"summary": "获取社区列表",
@@ -900,6 +944,76 @@
"points"
]
},
"KGeNResult": {
"type": "object",
"properties": {
"status": {
"$ref": "#/definitions/KGeNStatus",
"description": " 状态"
},
"data": {
"$ref": "#/definitions/KGeNResultData",
"description": " 数据"
}
},
"title": "KGeNResult",
"required": [
"status",
"data"
]
},
"KGeNResultData": {
"type": "object",
"properties": {
"isValid": {
"type": "boolean",
"format": "boolean",
"description": " true:是false:否"
}
},
"title": "KGeNResultData",
"required": [
"isValid"
]
},
"KGeNStatus": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"description": " 状态码"
},
"msg": {
"type": "string",
"description": " 状态信息"
}
},
"title": "KGeNStatus",
"required": [
"code",
"msg"
]
},
"KGeNTaskCheckReq": {
"type": "object",
"properties": {
"email": {
"type": "string",
"description": " 邮箱"
},
"type": {
"type": "integer",
"format": "int8",
"description": " 1.在官网注册(是否) 2.链接钱包(是否) 3.下载并绑定游戏账号(是否)"
}
},
"title": "KGeNTaskCheckReq",
"required": [
"email",
"type"
]
},
"Result": {
"type": "object",
"properties": {