yc-ui2 0.1.3-beta2 → 0.1.3-beta4
Sign up to get free protection for your applications and to get access to all the features.
- package/.env +1 -1
- package/dist/yc-ui2.common.js +6 -6
- package/dist/yc-ui2.common.js.map +1 -1
- package/dist/yc-ui2.umd.js +6 -6
- package/dist/yc-ui2.umd.js.map +1 -1
- package/dist/yc-ui2.umd.min.js +1 -1
- package/dist/yc-ui2.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/api/customerService.js +1 -1
- package/src/assets/questions.js +0 -115
- /package/src/utils/{request.js → request2.js} +0 -0
package/.env
CHANGED
package/dist/yc-ui2.common.js
CHANGED
@@ -44090,14 +44090,14 @@ axios.default = axios;
|
|
44090
44090
|
/* harmony default export */ var lib_axios = (axios);
|
44091
44091
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/element-ui.common.js
|
44092
44092
|
var element_ui_common = __webpack_require__(8499);
|
44093
|
-
;// CONCATENATED MODULE: ./src/utils/
|
44093
|
+
;// CONCATENATED MODULE: ./src/utils/request2.js
|
44094
44094
|
|
44095
44095
|
|
44096
44096
|
lib_axios.defaults.headers["Content-Type"] = "application/json;charset=utf-8";
|
44097
44097
|
// 创建axios实例
|
44098
44098
|
const service = lib_axios.create({
|
44099
44099
|
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
44100
|
-
baseURL: "/
|
44100
|
+
baseURL: "/customer-api",
|
44101
44101
|
// 超时
|
44102
44102
|
timeout: 10000
|
44103
44103
|
});
|
@@ -44130,7 +44130,7 @@ service.interceptors.response.use(res => {
|
|
44130
44130
|
});
|
44131
44131
|
return Promise.reject(error);
|
44132
44132
|
});
|
44133
|
-
/* harmony default export */ var
|
44133
|
+
/* harmony default export */ var request2 = (service);
|
44134
44134
|
;// CONCATENATED MODULE: ./src/api/customerService.js
|
44135
44135
|
|
44136
44136
|
|
@@ -44140,7 +44140,7 @@ service.interceptors.response.use(res => {
|
|
44140
44140
|
* @returns {[]}
|
44141
44141
|
*/
|
44142
44142
|
function getProblemTypeAndProblem(aiServiceId) {
|
44143
|
-
return
|
44143
|
+
return request2({
|
44144
44144
|
url: '/aiService/discourse/getProblemTypeAndProblem/' + aiServiceId,
|
44145
44145
|
method: 'GET'
|
44146
44146
|
// params: query
|
@@ -44156,7 +44156,7 @@ function getProblemTypeAndProblem(aiServiceId) {
|
|
44156
44156
|
* @returns {{}}
|
44157
44157
|
*/
|
44158
44158
|
function findDataByProblem(data) {
|
44159
|
-
return
|
44159
|
+
return request2({
|
44160
44160
|
url: '/aiService/discourse/findDataByProblem',
|
44161
44161
|
method: 'POST',
|
44162
44162
|
data
|
@@ -44171,7 +44171,7 @@ function findDataByProblem(data) {
|
|
44171
44171
|
* @returns
|
44172
44172
|
*/
|
44173
44173
|
function findMaxNumData(aiServiceId) {
|
44174
|
-
return
|
44174
|
+
return request2({
|
44175
44175
|
url: '/aiService/discourse/findMaxNumData/' + aiServiceId,
|
44176
44176
|
method: 'GET'
|
44177
44177
|
});
|