yshop3.1正式发布
This commit is contained in:
17
api/live.js
Normal file
17
api/live.js
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
|
||||
import request from "@/utils/request";
|
||||
|
||||
/**
|
||||
* 查询所有直播间
|
||||
*/
|
||||
export function yxWechatLive(data) {
|
||||
return request.get("/yxWechatLive", data, { login: true });
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取直播回放
|
||||
*/
|
||||
export function getLiveReplay(id, data) {
|
||||
return request.get("/yxWechatLive/getLiveReplay/" + id, data, { login: false });
|
||||
}
|
||||
@ -75,8 +75,8 @@ export function getGroomList(type) {
|
||||
/*
|
||||
* 获取商品海报
|
||||
* */
|
||||
export function getProductPoster(id) {
|
||||
return request.get("/product/poster/" + id, {}, {
|
||||
export function getProductPoster(id, data) {
|
||||
return request.get("/product/poster/" + id, data, {
|
||||
login: true
|
||||
});
|
||||
}
|
||||
|
||||
@ -186,10 +186,11 @@ export function postAddress(data) {
|
||||
/*
|
||||
* 获取收藏产品
|
||||
* */
|
||||
export function getCollectUser(page, limit) {
|
||||
export function getCollectUser(page, limit, type) {
|
||||
return request.get("/collect/user", {
|
||||
page: page,
|
||||
limit: limit
|
||||
limit: limit,
|
||||
type
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user