封装AXIOS,添加接口

- 今日体检统计信息
- 营收数据统计
This commit is contained in:
xianyi
2025-12-10 14:56:07 +08:00
parent 5f81667c60
commit 9c8b679689
8 changed files with 640 additions and 108 deletions

View File

@@ -4,12 +4,13 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite --host 0.0.0.0",
"dev": "export NODE_ENV=development && vite --host 0.0.0.0",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"axios": "^1.13.2",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-router-dom": "^7.9.6"
@@ -31,4 +32,4 @@
"typescript-eslint": "^8.46.4",
"vite": "^7.2.4"
}
}
}