feat:添加admin相关接口

This commit is contained in:
2025-11-13 15:05:54 +08:00
parent 11cb40c86a
commit 067e0539ba
58 changed files with 18736 additions and 273 deletions
+19
View File
@@ -0,0 +1,19 @@
import {http2} from "@/utils/request.js";
/**路由管理 */
/**新增前端路由 */
export const addRouter = (data) => {
return http2.post('/api/v1/admin/web_routs/add', data,{
headers:{
'Content-Type':'multipart/form-data'
}
})
}
/**更新前端路由 */
export const updateRouter = (data) => {
return http2.post('/api/v1/admin/web_routs/update', data,{
headers:{
'Content-Type':'multipart/form-data'
}
})
}