You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.3 KiB
JavaScript
64 lines
1.3 KiB
JavaScript
import { request } from "@/utils/request";
|
|
|
|
export default {
|
|
/**
|
|
* 获取轮播图设置
|
|
*/
|
|
getStoreSlideShowSetting(data) {
|
|
return request({
|
|
url: "/storeSetting/getStoreSlideShowSetting",
|
|
method: "GET",
|
|
data,
|
|
needLogin: true,
|
|
});
|
|
},
|
|
|
|
/**
|
|
* 获取分类导航设置
|
|
*/
|
|
getStoreNavSetting(data) {
|
|
return request({
|
|
url: "/storeSetting/GetStoreNavSetting",
|
|
method: "GET",
|
|
data,
|
|
needLogin: true,
|
|
});
|
|
},
|
|
|
|
/**
|
|
* 获取分类导航设置
|
|
*/
|
|
getCateGoods(data) {
|
|
return request({
|
|
url: "/storeSetting/GetCateGoods",
|
|
method: "GET",
|
|
data,
|
|
needLogin: true,
|
|
});
|
|
},
|
|
|
|
/**
|
|
* 获取门店分类&商品
|
|
*/
|
|
GetShopGoodsList(data) {
|
|
return request({
|
|
url: "/storeSetting/GetShopGoodsList",
|
|
method: "GET",
|
|
data,
|
|
needLogin: true,
|
|
});
|
|
},
|
|
|
|
/**
|
|
* 获取首页导航设置
|
|
*/
|
|
goodsClassify(data) {
|
|
return request({
|
|
url: "/goods/classify",
|
|
method: "GET",
|
|
data,
|
|
needLogin: true,
|
|
});
|
|
},
|
|
};
|