From 29fc6f5b1981775be5d2f0f9f8e61fec2f550252 Mon Sep 17 00:00:00 2001
From: lrj <owen.stl@gmail.com>
Date: 星期一, 29 九月 2025 19:29:11 +0800
Subject: [PATCH] 删除所有test开头的测试文件
---
web/src/api/player.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/web/src/api/player.js b/web/src/api/player.js
index 1006ec6..a1ada54 100644
--- a/web/src/api/player.js
+++ b/web/src/api/player.js
@@ -16,16 +16,16 @@
}
const GET_APPLICATIONS = `
- query GetApplications($name: String, $page: Int, $size: Int) {
- activityPlayerApplications(name: $name, page: $page, size: $size) {
+ query GetApplications($name: String, $activityId: ID, $page: Int, $size: Int) {
+ activityPlayerApplications(name: $name, activityId: $activityId, page: $page, size: $size) {
id playerName activityName phone applyTime state
}
}
`
export const PlayerApi = {
- getApplications: async (name, page, size) => {
- const data = await graphqlRequest(GET_APPLICATIONS, { name, page, size })
+ getApplications: async (name, activityId, page, size) => {
+ const data = await graphqlRequest(GET_APPLICATIONS, { name, activityId, page, size })
return data.activityPlayerApplications || []
}
}
\ No newline at end of file
--
Gitblit v1.8.0