guhongwei 4 anni fa
parent
commit
270bc3d64a
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      store/live/dock.js

+ 4 - 0
store/live/dock.js

@@ -50,6 +50,10 @@ const actions = {
     const res = await this.$axios.$post(`${api.dockInfo}/createvipuser/${id}`, data);
     return res;
   },
+  async updateGood({ commit }, { id, ...data }) {
+    const res = await this.$axios.$post(`${api.dockInfo}/goods/${id}`, data);
+    return res;
+  },
 };
 
 export default {