Update api.js

This commit is contained in:
姜棚 2022-01-25 17:44:59 +08:00
parent 259c9fafbb
commit 7a5584b611
1 changed files with 6 additions and 6 deletions

View File

@ -345,7 +345,7 @@ export const getKeyBatchDetail = (id, params) => {
//更新key批次详细信息
export const putKeyBatchDetail = (id, params) => {
return req('put', baseurl + "/keys/" + id, params)
return req('put', "http://192.168.6.165:8080" + "/keys/" + id, params)
}
//发送key批次压缩包和压缩包密码
export const planSend = (id, params) => {
@ -847,28 +847,28 @@ export const getThemeType= () => {
//key码列表
export const getkeyDetailList= (id,data) => {
return req('get', baseurl + "/key/"+id,data)
return req('get', "http://192.168.6.165:8080" + "/key/"+id,data)
}
//提交审核
export const approvals= (id,data) => {
return req('post', baseurl + "/plan/"+id+"/approvals",data)
return req('post', "http://192.168.6.165:8080" + "/plan/"+id+"/approvals",data)
}
export const getApprovalsInfo= (id,data) => {
return req('get', baseurl + "/approvals/"+id+"/market_approval_data",data)
return req('get', "http://192.168.6.165:8080" + "/approvals/"+id+"/market_approval_data",data)
}
export const terminateApprovals= (id,data) => {
return req('put', baseurl + "/approvals/"+id+"/terminate",data)
return req('put', "http://192.168.6.165:8080" + "/approvals/"+id+"/terminate",data)
}
export const getApprovalsStatus= (id,data) => {
return req('get', baseurl + "/approvals/"+id+"/status")
return req('get', "http://192.168.6.165:8080" + "/approvals/"+id+"/status")
}
//作废