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'
        }
    })
}
