Skip to content

创建令牌接口,要能返回创建的Id #2908

@try3

Description

@try3

创建令牌接口
https://app.apifox.com/project/7484041/apis/api-384083914-run?branchId=7219362
接口请求参数
{
"id": 0,
"user_id": 0,
"name": "string",
"key": "string",
"status": 0,
"expired_time": 0,
"remain_quota": 0,
"unlimited_quota": true
}
创建成功后,接口返回了
{
"message": "",
"success": true
}
没有id,但是获取信息、更新、删除都要id,如果不返回id,这接口就没啥作用了

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions