This commit is contained in:
“zhuoda
2020-01-13 12:23:07 +08:00
parent ee6bd6782f
commit c9ef7d3b41
614 changed files with 266 additions and 372 deletions

View 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}`);
}
};