This commit is contained in:
kk
2026-07-08 18:00:33 +08:00
commit e66b4a3680
312 changed files with 54718 additions and 0 deletions

59
src/api/desk/notice.js Normal file
View File

@@ -0,0 +1,59 @@
import request from '@/axios';
export const getList = (current, size, params) => {
return request({
url: '/blade-desk/notice/list',
method: 'get',
params: {
...params,
current,
size,
},
cryptoToken: false,
cryptoData: false,
});
};
export const remove = ids => {
return request({
url: '/blade-desk/notice/remove',
method: 'post',
params: {
ids,
},
cryptoToken: false,
cryptoData: false,
});
};
export const add = row => {
return request({
url: '/blade-desk/notice/submit',
method: 'post',
data: row,
cryptoToken: false,
cryptoData: false,
});
};
export const update = row => {
return request({
url: '/blade-desk/notice/submit',
method: 'post',
data: row,
cryptoToken: false,
cryptoData: false,
});
};
export const getNotice = id => {
return request({
url: '/blade-desk/notice/detail',
method: 'get',
params: {
id,
},
cryptoToken: false,
cryptoData: false,
});
};