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

重复的数据内容负载 #179

Open
martinwang2002 opened this issue Feb 4, 2025 · 0 comments
Open

重复的数据内容负载 #179

martinwang2002 opened this issue Feb 4, 2025 · 0 comments

Comments

@martinwang2002
Copy link
Contributor

”重复“的api请求,以及响应体

https://github.com/MaaAssistantArknights/maa-copilot-frontend/blob/3a48c6104b71935f2eabb9a8ae57ee500ba8ca22/src/apis/operation.ts#L98-L102
以上请求未携带Bearer token

https://github.com/MaaAssistantArknights/maa-copilot-frontend/blob/3a48c6104b71935f2eabb9a8ae57ee500ba8ca22/src/apis/operation.ts#L169-L172
以上请求携带Bearer token,目的是为了获取用户是否获得点赞了该作业

因此在首页获取所有作业列表之后,会逐个查询改作业的后端

Image

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