|
@@ -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 {
|