代码优化

This commit is contained in:
dqjdda
2019-11-25 16:49:16 +08:00
parent fcc28fdd6f
commit 882dc03e3c
57 changed files with 594 additions and 2130 deletions

View File

@@ -0,0 +1,20 @@
import request from '@/utils/request'
export function del(id) {
return request({
url: 'api/deployHistory/' + id,
method: 'delete'
})
}
/**
* 版本回退
* @param data 选中行
*/
export function reducte(data) {
return request({
url: 'api/deploy/serverReduction',
method: 'post',
data
})
}