123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- import request from "@/utils/request.js";
- // 查询个人消息
- export function getNotice(data) {
- return request.post("/v1/getNotice",data);
- }
- // 查询个人消息
- export function getMyMessage(data) {
- return request.post("/v1/getMyMessage",data);
- }
- // 查询团购统计数据
- export function grouponMngStatis() {
- return request.get("/v1/groupon/statis");
- }
- // 查询团购详情
- export function grouponMngDetail(id) {
- return request.get("/v1/groupon-mng/detail?groupId="+id);
- }
- // 查询团购列表
- export function grouponMngList(index,data) {
- return request.get("/v1/groupon-mng/list?state="+index,data);
- }
- // 查询最新团购列表
- export function latestGroupon(data) {
- return request.get("/v1/groupon/latest",data);
- }
- // 查询历史团购数据
- export function historyGroupon(data) {
- return request.get("/v1/groupon/history",data);
- }
- // 团购详情
- export function detailGroupon(data) {
- return request.get("/v1/groupon/detail",data);
- }
- // 商品详情接口
- export function goodsDetail(data) {
- return request.get("/v1/goods/detail",data);
- }
- // 发布团购
- export function publishGroupon(data) {
- return request.post("/v1/groupon/publish",data);
- }
- // 查询团购自提点
- export function getGrouponSelfTakeList(data) {
- return request.get("/v1/self-take/list",data);
- }
- // 分页查询所有自提点
- export function getAllSelfTake(data) {
- return request.get("/v1/selfTake/all", data);
- }
|