From c86b31749e6eba80f63a96de903c4ce0afffb55b Mon Sep 17 00:00:00 2001 From: weijianli Date: Wed, 18 Sep 2019 14:25:09 -0500 Subject: [PATCH] change port --- src/api/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/user.js b/src/api/user.js index 45c13b4d..223900f5 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -27,7 +27,7 @@ export function sendAnalyzeRequest(token) { return request({ url: '/testpredict', method: 'get', - baseURL: 'http://localhost:8888', + baseURL: 'http://localhost:8010', params: { token } }) } @@ -36,7 +36,7 @@ export function sendAnalyzeOnDateRequest(token, fromDate, toDate) { return request({ url: '/predictOnDate', method: 'get', - baseURL: 'http://localhost:8888', + baseURL: 'http://localhost:8010', params: { token, fromDate, toDate } }) }