feat: 添加获取全局选项接口,支持动态状态和曲种选择

This commit is contained in:
2025-12-31 12:31:52 +08:00
parent 111d0978a3
commit 20e1a2fa19
6 changed files with 127 additions and 81 deletions

View File

@@ -1,6 +1,7 @@
import { request } from '../utils/request';
export const commonApi = {
getOptions: () => request('/common/options'),
upload: (file, type) => {
const formData = new FormData();
formData.append('file', file);