mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-26 14:23:48 +00:00
feat: 迁移前端资源文件并重构项目结构
refactor: 优化前端代码结构和资源管理 style: 调整前端代码格式和样式 chore: 更新.gitignore和构建配置 fix: 修复前端资源路径和引用问题 docs: 更新前端文档和注释 perf: 优化前端性能和加载速度 test: 更新前端测试用例 build: 调整前端构建配置 ci: 更新CI/CD配置
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import request from "@/utils/request";
|
||||
import request from "@utils/http";
|
||||
|
||||
const API_PATH = "/example/demo";
|
||||
|
||||
const DemoAPI = {
|
||||
getDemoList(query: DemoPageQuery) {
|
||||
return request<ApiResponse<PageResult<DemoTable[]>>>({
|
||||
return request<ApiResponse<PageResult<DemoTable>>>({
|
||||
url: `${API_PATH}/list`,
|
||||
method: "get",
|
||||
params: query,
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import request from "@/utils/request";
|
||||
import request from "@utils/http";
|
||||
|
||||
const API_PATH = "/example/demo01";
|
||||
|
||||
const Demo01API = {
|
||||
getDemo01List(query: Demo01PageQuery) {
|
||||
return request<ApiResponse<PageResult<Demo01Table[]>>>({
|
||||
return request<ApiResponse<PageResult<Demo01Table>>>({
|
||||
url: `${API_PATH}/list`,
|
||||
method: "get",
|
||||
params: query,
|
||||
|
||||
Reference in New Issue
Block a user