本地备份:主包优化前完整版本,可随时回退

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQue
2026-06-27 05:41:55 +08:00
parent a751708d6e
commit 7f4f279b3f
124 changed files with 15837 additions and 21958 deletions

View File

@@ -1,5 +1,6 @@
// utils/upload.js
import request from './request.js'
import { buildClubHeaders } from './club-context.js'
const app = getApp()
@@ -39,9 +40,9 @@ const upload = async (options) => {
filePath,
name: fileName,
formData,
header: {
header: buildClubHeaders({
'Authorization': `Bearer ${token}`
},
}),
success: (res) => {
if (res.statusCode === 200) {