continue forum coding

This commit is contained in:
2024-04-07 19:46:54 +08:00
parent 759a9f2c4e
commit 70ef984db9
3 changed files with 109 additions and 55 deletions

View File

@@ -397,7 +397,7 @@ export const useForumStore = defineStore('forum', () => {
async function ConfirmApply(owner: number, id: number) {
try {
isLoading.value = true
const data = await QueryGetAPI(FORUM_API_URL + 'manage/confirm-apply', { owner: owner, id: id })
const data = await QueryGetAPI(FORUM_API_URL + 'manage/confirm-apply', { forum: owner, id: id })
if (data.code == 200) {
message?.success('已通过申请')
return true