Read This First (Do Not Remove This Section)
Your current newapi version
文档创建令牌接口调用失败
Please fill this in, for example: v1.0.0
v0.12.9
Submission Checks
- [v] I have confirmed there are no similar issues
- [v] I have thoroughly read the docs at https://docs.newapi.ai/ and the project README, especially the FAQ section
- [v] I have not removed any guidance or section headings from this template and will complete it as requested
- [v] I understand that maintainers have limited time and issues that do not follow this template may be ignored or closed directly
Issue Description
文档创建令牌接口调用失败
Steps to Reproduce
请求方法: POST
请求URL: http://192.168.2.90:3000/api/token/
请求头:
Authorization: sk-88888888888888888888888888888888
New-Api-User: 2
Content-Type: application/json
请求体: {"unlimited_quota":false,"user_id":"2","name":"aasd","remain_quota":20000000,"expired_time":-1,"status":1}
Expected Result
{
"message": "",
"success": true
}
Related Screenshots
{"message":"Unauthorized, invalid access token","success":false}
Read This First (Do Not Remove This Section)
Your current newapi version
文档创建令牌接口调用失败
Please fill this in, for example:
v1.0.0v0.12.9
Submission Checks
Issue Description
文档创建令牌接口调用失败
Steps to Reproduce
请求方法: POST
请求URL: http://192.168.2.90:3000/api/token/
请求头:
Authorization: sk-88888888888888888888888888888888
New-Api-User: 2
Content-Type: application/json
请求体: {"unlimited_quota":false,"user_id":"2","name":"aasd","remain_quota":20000000,"expired_time":-1,"status":1}
Expected Result
{
"message": "",
"success": true
}
Related Screenshots
{"message":"Unauthorized, invalid access token","success":false}