guhongwei 5 lat temu
rodzic
commit
da2788adc9
1 zmienionych plików z 6 dodań i 1 usunięć
  1. 6 1
      store/live/dock.js

+ 6 - 1
store/live/dock.js

@@ -4,6 +4,7 @@ import _ from 'lodash';
 Vue.use(Vuex);
 const api = {
   dockInfo: `/api/live/dock`,
+  myapplyInfo: `/api/live/dock/myapply`,
 };
 const state = () => ({});
 const mutations = {};
@@ -14,7 +15,11 @@ const actions = {
     return res;
   },
   async myapply({ commit }, { skip = 0, limit = undefined, ...info } = {}) {
-    const res = await this.$axios.$get(api.dockInfo, { skip, limit, ...info });
+    const res = await this.$axios.$get(api.myapplyInfo, {
+      skip,
+      limit,
+      ...info,
+    });
     return res;
   },
   async create({ commit }, payload) {