mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-13 22:23:48 +08:00
v2.0 代码提交
This commit is contained in:
20
smart_admin_v1/smart-admin-web/src/api/smart-reload.js
Normal file
20
smart_admin_v1/smart-admin-web/src/api/smart-reload.js
Normal file
@@ -0,0 +1,20 @@
|
||||
// smartReloadAPI
|
||||
import {
|
||||
postAxios,
|
||||
getAxios
|
||||
} from '@/lib/http';
|
||||
export const smartReloadApi = {
|
||||
// 查询所有
|
||||
getSmartReloadList: () => {
|
||||
return getAxios('/smartReload/all');
|
||||
},
|
||||
// 更新单条数据
|
||||
updateSmartReloadData: (data) => {
|
||||
return postAxios('/smartReload/update', data);
|
||||
},
|
||||
// 获取执行结果
|
||||
getSmartReloadResult: (tag) => {
|
||||
return getAxios(`/smartReload/result/${tag}`);
|
||||
}
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user