wuhongyu 5 年之前
父節點
當前提交
6f4d64900c
共有 1 個文件被更改,包括 2 次插入2 次删除
  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);
     const res = await this.$axios.$post(`${api.newsInfo}`, payload);
     return res;
     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;
     return res;
   },
   },
   async update({ commit }, { id, ...data }) {
   async update({ commit }, { id, ...data }) {