qinzhipeng_v há 5 anos atrás
pai
commit
2477ecbe3c
2 ficheiros alterados com 5 adições e 5 exclusões
  1. 2 2
      src/api/ResultPage.js
  2. 3 3
      src/api/testPresentetion.js

+ 2 - 2
src/api/ResultPage.js

@@ -1,5 +1,5 @@
 import request from '@/utils/request'
-import { Presentation } from '@/apiConfig/api'
+import { Presentation, mockUrl } from '@/apiConfig/api'
 // ================================== Interface ======================================
 
 // 全局list
@@ -67,7 +67,7 @@ export function dailyReportSendmail(data) {
 // bug数据获取
 export function bugFinishList(data) {
   return request({
-    url: Presentation + '/bug/FinishList',
+    url: mockUrl + '/bug/FinishList',
     method: 'post',
     data
   })

+ 3 - 3
src/api/testPresentetion.js

@@ -1,5 +1,5 @@
 import request from '@/utils/request'
-import { Presentation } from '@/apiConfig/api'
+import { Presentation, mockUrl } from '@/apiConfig/api'
 // ================================== Interface ======================================
 
 // 全局list
@@ -49,7 +49,7 @@ export function dailyReportUpdate(data) {
 // echarts
 export function bugDailyList(data) {
   return request({
-    url: Presentation + '/bug/DailyList',
+    url: mockUrl + '/bug/DailyList',
     method: 'post',
     data
   })
@@ -73,7 +73,7 @@ export function launchTest(params) {
 // echarts
 export function projectTestReport(params) {
   return request({
-    url: Presentation + '/projectTestReport/get',
+    url: mockUrl + '/projectTestReport/get',
     method: 'get',
     params
   })