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 CHANGED
@@ -1,5 +1,5 @@
1
1
  VUE_APP_CUSTOMER_API = 58.20.153.230:7080
2
- VUE_APP_CUSTOMER_PATH = /dev-api
2
+ VUE_APP_CUSTOMER_PATH = /customer-api
3
3
 
4
4
  VUE_APP_IMG_API = 113.219.171.47:6610
5
5
  VUE_APP_IMG_PATH = /cloud-img
@@ -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/request.js
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: "/dev-api",
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 utils_request = (service);
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 utils_request({
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 utils_request({
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 utils_request({
44174
+ return request2({
44175
44175
  url: '/aiService/discourse/findMaxNumData/' + aiServiceId,
44176
44176
  method: 'GET'
44177
44177
  });