guhongwei há 4 anos atrás
pai
commit
45504f86f7
1 ficheiros alterados com 8 adições e 0 exclusões
  1. 8 0
      store/market/marketproduct.js

+ 8 - 0
store/market/marketproduct.js

@@ -25,6 +25,14 @@ const actions = {
     });
     return res;
   },
+  async comquery({ commit }, { skip = 0, limit, ...info } = {}) {
+    const res = await this.$axios.$get(`${api.newsInfo}/allquery`, {
+      skip,
+      limit,
+      ...info,
+    });
+    return res;
+  },
   async newfetch({ commit }, { skip = 0, limit, ...info } = {}) {
     const res = await this.$axios.$get(`${api.newsInfo}/newfetch`, {
       skip,