Add 魔法
This commit is contained in:
23
u2_api.yml
23
u2_api.yml
@@ -11,6 +11,8 @@ components:
|
||||
type: apiKey
|
||||
in: query
|
||||
name: token
|
||||
security:
|
||||
- token: []
|
||||
paths:
|
||||
/v1/token:
|
||||
post:
|
||||
@@ -32,3 +34,24 @@ paths:
|
||||
key:
|
||||
type: string
|
||||
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