浏览代码

修改接口请求时间

zhujing 3 周之前
父节点
当前提交
309c0734cf

+ 1 - 1
ui/smarttrade-platform/src/api/customer/index.js

@@ -4,4 +4,4 @@ export const getCustomerList = (data = {}) => post('/router/rest/customerTrade/l
 
 export const getCustomerDetail = (params = {}) => get('/router/rest/customerTrade/getById', params)
 
-export const blocking = (data = {}) => post('/router/rest/chat/blocking', data,{ timeout: 150000 })
+export const blocking = (data = {}) => post('/router/rest/chat/blocking', data,{ timeout: 90000 })

+ 2 - 2
ui/smarttrade-platform/src/api/knowledge/index.js

@@ -15,9 +15,9 @@ export const chatMessages = (params = {}) => get('/router/rest/chat/messages', p
 
 export const baseTraining = (params = {}) => get('/router/rest/knowledge/base/training/page', params)
 
-export const creatTraining = (data = {}) => post('/router/rest/knowledge/base/training', data)
+export const creatTraining = (data = {}) => post('/router/rest/knowledge/base/training', data,{ timeout: 90000 })
 
-export const baseStatistics = (params = {}) => get('/router/rest/knowledge/base/statistics', params)
+export const baseStatistics = (params = {}) => get('/router/rest/knowledge/base/statistics', params,{ timeout: 90000 })
 
 export const getAllChunks = (params = {}) => get('/router/rest/knowledge/chunk/getAllChunks', params)