zrug 6 месяцев назад
Родитель
Сommit
4d1bf7471e
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      service/api.js

+ 6 - 6
service/api.js

@@ -73,7 +73,7 @@ export const HomepageApi = {
   }
   */
   getIpInfos: function (payload) {
-    return http.post("/api/store/homepage/ipInfos", {
+    return http.get("/api/store/homepage/ipInfos", {
       ...payload,
     });
   },
@@ -86,7 +86,7 @@ export const HomepageApi = {
   }
   */
   getTitles: function (payload) {
-    return http.post("/api/store/homepage/titles", {
+    return http.get("/api/store/homepage/titles", {
       ...payload,
     });
   },
@@ -120,7 +120,7 @@ export const HomepageApi = {
   }
   */
   getLeftProds: function (payload) {
-    return http.post("/api/store/homepage/leftProds", {
+    return http.get("/api/store/homepage/leftProds", {
       ...payload,
     });
   },
@@ -154,7 +154,7 @@ export const HomepageApi = {
   }
   */
   getMiddleProds: function (payload) {
-    return http.post("/api/store/homepage/middleProds", {
+    return http.get("/api/store/homepage/middleProds", {
       ...payload,
     });
   },
@@ -188,7 +188,7 @@ export const HomepageApi = {
   }
   */
   getRightProds: function (payload) {
-    return http.post("/api/store/homepage/rightProds", {
+    return http.get("/api/store/homepage/rightProds", {
       ...payload,
     });
   },
@@ -215,7 +215,7 @@ export const HomepageApi = {
   }
   */
   getProdClasses: function (payload) {
-    return http.post("/api/store/homepage/prodClasses", {
+    return http.get("/api/store/homepage/prodClasses", {
       ...payload,
     });
   },