新增基础配置

This commit is contained in:
dragon
2024-09-19 19:12:43 +08:00
parent e77165a1d7
commit c4209d6c24
2 changed files with 284 additions and 32 deletions

View File

@@ -29,9 +29,10 @@ export const getConfig = query => {
// 基础配置-修改
export const updateSet = query => {
return request({
headers: { "Content-Type": 'application/json;charset=UTF-8' },
url: '/admin/lucky24/config/update',
method: 'get',
params: query
method: 'post',
data: query
});
};
// 个人数据
@@ -53,9 +54,17 @@ export const platform = query => {
// 保存池子
export const save = query => {
return request({
headers:{"Content-Type": 'application/json;charset=UTF-8'},
headers: { "Content-Type": 'application/json;charset=UTF-8' },
url: '/admin/lucky24/pool/save',
method: 'post',
data: query
});
};
// 赠送用户
export const updateUserMulti = query => {
return request({
url: '/admin/lucky24/config/updateUserMulti',
method: 'post',
params: query
});
};