From ab04bdc1cf72a2d51603da426c9697fc6ef0e298 Mon Sep 17 00:00:00 2001 From: chenjianan Date: Sat, 2 Mar 2019 08:31:24 +0800 Subject: [PATCH] request --- debug.log | 1 + src/utils/request.js | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 debug.log diff --git a/debug.log b/debug.log new file mode 100644 index 00000000..ed97f861 --- /dev/null +++ b/debug.log @@ -0,0 +1 @@ +[0301/083149.303:ERROR:http_transport_win.cc(273)] WinHttpSendRequest: 操作成功完成。 (0x0) diff --git a/src/utils/request.js b/src/utils/request.js index 38aeec07..908de161 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -7,13 +7,13 @@ export const wsuri = `ws://192.168.1.231:61101//WebMoudule//websocket` export const name = `OP8888` // 鍒涘缓axios瀹炰緥 -export const readFile = `192.168.1.231:8411/webpage/file/` // invoice -export const readImg = `192.168.1.231:8411/webpage/img/` // delivery/MS/performancebond -export const upload = `192.168.1.231:8411/submit/uploadFile.ashx` // ContractInformationManagement -export const upload2 = `192.168.1.231:8411/submit/upload2.ashx` // delivery -export const upload3 = `192.168.1.231:8411/submit/upload3.ashx` // performancebond -export const uploadInvoiceScan = `192.168.1.231:8411/submit/uploadInvoiceScan.ashx` // invoice -export const download = `192.168.1.231:8411/submit/downloadFile.ashx` // ContractInformationManagement +export const readFile = `http://192.168.1.231:8411/webpage/file/` // invoice +export const readImg = `http://192.168.1.231:8411/webpage/img/` // delivery/MS/performancebond +export const upload = `http://192.168.1.231:8411/submit/uploadFile.ashx` // ContractInformationManagement +export const upload2 = `http://192.168.1.231:8411/submit/upload2.ashx` // delivery +export const upload3 = `http://192.168.1.231:8411/submit/upload3.ashx` // performancebond +export const uploadInvoiceScan = `http://192.168.1.231:8411/submit/uploadInvoiceScan.ashx` // invoice +export const download = `http://192.168.1.231:8411/submit/downloadFile.ashx` // ContractInformationManagement const service = axios.create({ // baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`, // baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`,