guhongwei před 4 roky
rodič
revize
5b769243f6
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      store/live/dock.js

+ 4 - 0
store/live/dock.js

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