Commit 1d55260e authored by liwei's avatar liwei

将修改和删除变为post请求,修改了内外网地址

parent 87220694
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
// export const ExternalSERVEICE='http://106.3.97.198:20052' // export const ExternalSERVEICE='http://106.3.97.198:20052'
// export const WithinSERVEICE='http://106.3.97.198:20052' // export const WithinSERVEICE='http://106.3.97.198:20052'
export const AIAPIExternalSERVEICE='http://106.3.97.198:20050' export const AIAPIExternalSERVEICE='http://192.168.1.251:8099'
export const AIAPIWithinSERVEICE='http://106.3.97.198:20050' export const AIAPIWithinSERVEICE='http://218.69.97.198:8099'
// export const ExternalSERVEICE='http://localhost:5013' // export const ExternalSERVEICE='http://localhost:5013'
// export const WithinSERVEICE='http://localhost:5013' // export const WithinSERVEICE='http://localhost:5013'
......
...@@ -12,11 +12,11 @@ export const addVoiceCommandsLocation = (item) => { ...@@ -12,11 +12,11 @@ export const addVoiceCommandsLocation = (item) => {
} }
export const deleteVoiceCommandsLocation = (id) => { export const deleteVoiceCommandsLocation = (id) => {
return httpTwo.deletes(`/busVoiceCommandsLocation/deleteLogical/`+ id) return httpTwo.post(`/busVoiceCommandsLocation/deleteLogical/`+ id)
} }
export const updateVoiceCommandsLocation = (item) => { export const updateVoiceCommandsLocation = (item) => {
return httpTwo.put(`/busVoiceCommandsLocation/update/${item.businessId}`,item) return httpTwo.post(`/busVoiceCommandsLocation/update/${item.businessId}`,item)
} }
export const getVoiceCommandsLocationDetail = (id) => { export const getVoiceCommandsLocationDetail = (id) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment