ソースを参照

fix 统计概览的地图和历史数据的请求地址错误

ylong 7 ヶ月 前
コミット
09fa8a8707
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/views/statistic/overview/index.vue

+ 2 - 2
src/views/statistic/overview/index.vue

@@ -140,7 +140,7 @@ const fetchHistoryData = async () => {
         statisticDateStart: dateRange.value[0],
         statisticDateEnd: dateRange.value[1],
     };
-    request.get("/order/recycleStatisticOverview/order/recycleStatisticOverview/history", { params })
+    request.get("/order/recycleStatisticOverview/history", { params })
         .then((res) => {
             if (res.data.code === 200) {
                 recycleDiscountData.value.forEach((item) => {
@@ -159,7 +159,7 @@ const fetchProvinceData = async () => {
         statisticDateStart: mapDateRange.value[0],
         statisticDateEnd: mapDateRange.value[1],
     };
-    request.get("/order/recycleStatisticOverview/order/recycleStatisticOverview/provinceRankList", {
+    request.get("/order/recycleStatisticOverview/provinceRankList", {
         params,
     }).then((res) => {
         if (res.data.code === 200) {