积分商品,以及完善砍价商品

This commit is contained in:
lemon橪
2021-07-20 18:05:50 +08:00
parent 65a9110ada
commit 0ea121e59e
11 changed files with 272 additions and 37 deletions

View File

@@ -51,13 +51,25 @@ export function getPointsCategory() {
* 获取积分商城商品
* @param params
*/
export function getPointsGoods(params) {
export function getPointsGoods(params) {
return http.request({
url: "/promotion/pointsGoods",
method: Method.GET,
params,
});
}
/**
* 获取积分商城商品详情
* @param params
*/
export function getPointsGoodsDetail(id) {
return http.request({
url: "/promotion/pointsGoods/"+id,
method: Method.GET,
});
}
/**
* 获取限时抢购时间线 当天限时抢购信息