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.
 
 
 
 
 
zhishifufei_uniapp/api/activity.js

64 lines
1.6 KiB

import http from "@/utils/request";
export function getActivitySignInList(params) {
return http.get("/activity/activitySignInList", params, {
requireAuth: true
});
}
export function getActivityList(params) {
return http.get("/activity/activityList", params, {
requireAuth: false
});
}
export function getActivityDetail(params) {
return http.get("/special/activity_details2", params, {
requireAuth: true
});
}
export function getActivityType(params) {
return http.get("/special/activityType", params, {
requireAuth: true
});
}
export function getShareConfig(params) {
return http.get("/special/shareConfig",params, {
requireAuth: true
});
}
export function getActivityEventData(params) {
return http.get("/activity/getActivityEventData", params, {
requireAuth: true
});
}
export function getActivityEventPrice(params) {
return http.get("/activity/getActivityEventPrice", params, {
requireAuth: true
});
}
export function verifyOffCode(code) {
return http.get("/activity/getWriteOffCode", { code }, {
requireAuth: true
});
}
export function getOrderStatus(order_id) {
return http.get("/activity/orderStatus", { order_id }, {
requireAuth: true
});
}
export function getWriteOffSignin(order_id,writestatus) {
return http.get("/activity/writeOffSignIn", { order_id,writestatus }, {
requireAuth: true
});
}
export function scanCodeSignin(order_id) {
return http.get("/activity/scanCodeSignIn", { order_id }, {
requireAuth: true
});
}