diff --git a/src/assets/api.js b/src/assets/api.js index f9a57ddc..70ec9e6c 100644 --- a/src/assets/api.js +++ b/src/assets/api.js @@ -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") } //作废