@@ -33,6 +33,10 @@ const actions = {
const res = await this.$axios.$delete(`${api.test}/${payload}`);
return res;
},
+ async getInfo({ commit }, payload) {
+ const res = await this.$axios.$post(`${api.test}/getInfo`, { uid: payload });
+ return res;
+ },
};
export default {
namespaced: true,