You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import request from "@/utils/request.js";
|
|
|
|
import {host} from "@/config/host.js";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 活动列表
|
|
|
|
* @param {Object} data
|
|
|
|
*/
|
|
|
|
export function activityList(data) {
|
|
|
|
|
|
|
|
return request({
|
|
|
|
url: `${host}/activity/list`,
|
|
|
|
method: "get",
|
|
|
|
data
|
|
|
|
});
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* 活动详情
|
|
|
|
* @param {Object} data
|
|
|
|
*/
|
|
|
|
export function activityDetail(data) {
|
|
|
|
|
|
|
|
return request({
|
|
|
|
url: `${host}/activity/activity-info`,
|
|
|
|
method: "get",
|
|
|
|
data
|
|
|
|
});
|
|
|
|
}
|