guhongwei 4 rokov pred
rodič
commit
fcd143a8a0
1 zmenil súbory, kde vykonal 4 pridanie a 0 odobranie
  1. 4 0
      store/live/dock.js

+ 4 - 0
store/live/dock.js

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