Add 魔法
This commit is contained in:
23
u2_api.yml
23
u2_api.yml
@@ -11,6 +11,8 @@ components:
|
|||||||
type: apiKey
|
type: apiKey
|
||||||
in: query
|
in: query
|
||||||
name: token
|
name: token
|
||||||
|
security:
|
||||||
|
- token: []
|
||||||
paths:
|
paths:
|
||||||
/v1/token:
|
/v1/token:
|
||||||
post:
|
post:
|
||||||
@@ -32,3 +34,24 @@ paths:
|
|||||||
key:
|
key:
|
||||||
type: string
|
type: string
|
||||||
description: 上一步操作返回的 key 值
|
description: 上一步操作返回的 key 值
|
||||||
|
/v1/promotion:
|
||||||
|
get:
|
||||||
|
operationId: getPromotion
|
||||||
|
summary: 魔法
|
||||||
|
externalDocs:
|
||||||
|
url: https://github.com/kysdm/u2_api#魔法
|
||||||
|
parameters:
|
||||||
|
- name: uid
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
in: query
|
||||||
|
description: u2账户id
|
||||||
|
required: true
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
description: OK
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: object
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user