feat: add AWS and MF consumption management
Build and Deploy Vue3 / build (push) Successful in 2m28s
Build and Deploy Vue3 / deploy (push) Successful in 1m1s

This commit is contained in:
shiran
2026-08-24 20:54:13 +08:00
parent a71351ce3c
commit edc1118a52
9 changed files with 583 additions and 0 deletions
+19
View File
@@ -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 })