guhongwei 4 년 전
부모
커밋
5b769243f6
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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 {