12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- "use strict";
- const sheep_request_index = require("../../request/index.js");
- const CombinationApi = {
- // 获得拼团活动列表
- getCombinationActivityList: (count) => {
- return sheep_request_index.request({
- url: "/promotion/combination-activity/list",
- method: "GET",
- params: { count }
- });
- },
- // 获得拼团活动分页
- getCombinationActivityPage: (params) => {
- return sheep_request_index.request({
- url: "/promotion/combination-activity/page",
- method: "GET",
- params
- });
- },
- // 获得拼团活动明细
- getCombinationActivity: (id) => {
- return sheep_request_index.request({
- url: "/promotion/combination-activity/get-detail",
- method: "GET",
- params: {
- id
- }
- });
- },
- // 获得最近 n 条拼团记录(团长发起的)
- getHeadCombinationRecordList: (activityId, status, count) => {
- return sheep_request_index.request({
- url: "/promotion/combination-record/get-head-list",
- method: "GET",
- params: {
- activityId,
- status,
- count
- }
- });
- },
- // 获得我的拼团记录分页
- getCombinationRecordPage: (params) => {
- return sheep_request_index.request({
- url: "/promotion/combination-record/page",
- method: "GET",
- params
- });
- },
- // 获得拼团记录明细
- getCombinationRecordDetail: (id) => {
- return sheep_request_index.request({
- url: "/promotion/combination-record/get-detail",
- method: "GET",
- params: {
- id
- }
- });
- },
- // 获得拼团记录的概要信息
- getCombinationRecordSummary: () => {
- return sheep_request_index.request({
- url: "/promotion/combination-record/get-summary",
- method: "GET"
- });
- }
- };
- const __vite_glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
- __proto__: null,
- default: CombinationApi
- }, Symbol.toStringTag, { value: "Module" }));
- exports.CombinationApi = CombinationApi;
- exports.__vite_glob_0_25 = __vite_glob_0_25;
|