wuhongyu %!s(int64=5) %!d(string=hai) anos
pai
achega
6f4d64900c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      store/market/marketproduct.js

+ 2 - 2
store/market/marketproduct.js

@@ -37,8 +37,8 @@ const actions = {
     const res = await this.$axios.$post(`${api.newsInfo}`, payload);
     return res;
   },
-  async newfetch({ commit }, payload) {
-    const res = await this.$axios.$get(`${api.newsInfo}/newfetch/${payload}`);
+  async fetch({ commit }, payload) {
+    const res = await this.$axios.$get(`${api.columnInfo}/${payload}`);
     return res;
   },
   async update({ commit }, { id, ...data }) {