1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-11 12:49:30 +08:00

feat: 优化投票功能,调整API

This commit is contained in:
小莫唐尼
2025-08-21 19:32:22 +08:00
parent 5606e8c59f
commit 31ade9908a
8 changed files with 474 additions and 227 deletions
+1 -5
View File
@@ -252,11 +252,7 @@ export default {
* 获取投票列表
*/
getVoteList: (params) => {
return HttpHandler.Get(`/apis/console.api.vote.kunkunyu.com/v1alpha1/votes`, params, {
custom: {
personalToken: getPersonalToken()
}
})
return HttpHandler.Get(`/apis/api.vote.kunkunyu.com/v1alpha1/votes`, params)
},
/**
* 获取投票详情