Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

获取token后怎么调用路由接口,postman测试url怎么填写 #155

Open
Winnie996 opened this issue Sep 4, 2023 · 0 comments
Open

Comments

@Winnie996
Copy link

username="test"
password="123"
token="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IjA5OGY2YmNkNDYyMWQzNzNjYWRlNGU4MzI2MjdiNGY2IiwicGFzc3dvcmQiOiIyMDJjYjk2MmFjNTkwNzViOTY0YjA3MTUyZDIzNGI3MCIsImV4cCI6MTY5MzgyMzA0MiwiaXNzIjoiZ2luLWJsb2cifQ.rpPYF87rhBgAGjAvRLLBEBbsgoBaeuhhgalHz9AKuu8"
新增tag接口 postman
http://localhost:8000/api/v1/tags?token="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IjA5OGY2YmNkNDYyMWQzNzNjYWRlNGU4MzI2MjdiNGY2IiwicGFzc3dvcmQiOiIyMDJjYjk2MmFjNTkwNzViOTY0YjA3MTUyZDIzNGI3MCIsImV4cCI6MTY5MzgyMzA0MiwiaXNzIjoiZ2luLWJsb2cifQ.rpPYF87rhBgAGjAvRLLBEBbsgoBaeuhhgalHz9AKuu8"
请求参数{
"name":"132",
"created_by":"2022-05-06",
"state":1
}
报错
"code": 20001,
"data": null,
"msg": "Token鉴权失败"
为什么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant