feat: add AWS and MF consumption management
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { http2 } from '@/utils/request.js'
|
||||
|
||||
const base = '/api/v1/admin/activity/mf_consumption'
|
||||
|
||||
/** 获取魔方特殊消费活动列表 */
|
||||
export const getMFConsumptionPromotionList = (params) =>
|
||||
http2.get(`${base}/list`, { params })
|
||||
|
||||
/** 创建魔方特殊消费活动 */
|
||||
export const createMFConsumptionPromotion = (data) =>
|
||||
http2.post(`${base}/create`, data)
|
||||
|
||||
/** 软删除魔方特殊消费活动 */
|
||||
export const deleteMFConsumptionPromotion = (id) =>
|
||||
http2.delete(`${base}/delete`, { params: { id } })
|
||||
|
||||
/** 永久清理指定时间范围内的 MF 扣减型消费记录 */
|
||||
export const clearMFConsumptionHistories = (data) =>
|
||||
http2.delete(`${base}/histories/clear`, { data })
|
||||
Reference in New Issue
Block a user