import requests from "@/utils/request";
import mockrequest from "@/utils/mockrequest"
//向外按需导出一个api函数

// export const getcategroylist = function () {
//   return requests.get("/api/product/getBaseCategoryList");
// };

export const getcategroylist=()=>requests.get("/api/product/getBaseCategoryList")

// export const getmockbannerlist = function () {
//   return mockrequest.get("/banner");
// };

export const getmockbannerlist=()=>mockrequest.get('/banner')

export const getmockfloorslist=()=>mockrequest.get('/floors')
