Update api.js
This commit is contained in:
parent
259c9fafbb
commit
7a5584b611
|
@ -345,7 +345,7 @@ export const getKeyBatchDetail = (id, params) => {
|
||||||
|
|
||||||
//更新key批次详细信息
|
//更新key批次详细信息
|
||||||
export const putKeyBatchDetail = (id, params) => {
|
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批次压缩包和压缩包密码
|
//发送key批次压缩包和压缩包密码
|
||||||
export const planSend = (id, params) => {
|
export const planSend = (id, params) => {
|
||||||
|
@ -847,28 +847,28 @@ export const getThemeType= () => {
|
||||||
|
|
||||||
//key码列表
|
//key码列表
|
||||||
export const getkeyDetailList= (id,data) => {
|
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) => {
|
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) => {
|
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) => {
|
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) => {
|
export const getApprovalsStatus= (id,data) => {
|
||||||
return req('get', baseurl + "/approvals/"+id+"/status")
|
return req('get', "http://192.168.6.165:8080" + "/approvals/"+id+"/status")
|
||||||
}
|
}
|
||||||
|
|
||||||
//作废
|
//作废
|
||||||
|
|
Loading…
Reference in New Issue