优化每日推送和积分转化逻辑

This commit is contained in:
2026-07-24 11:12:29 +08:00
parent b2b4fd4fbc
commit 4bad91b8a3
29 changed files with 661 additions and 102 deletions

View File

@@ -5,6 +5,7 @@ export const url = '/admin/mall.PlayxConfig/'
export const actionUrl = new Map([
['index', url + 'index'],
['save', url + 'save'],
['calculateLifetimePoints', url + 'calculateLifetimePoints'],
])
export function index() {
@@ -26,3 +27,15 @@ export function save(data: anyObj) {
}
)
}
export function calculateLifetimePoints() {
return createAxios(
{
url: actionUrl.get('calculateLifetimePoints'),
method: 'post',
},
{
showSuccessMessage: true,
}
)
}