|
@@ -6,6 +6,7 @@ Vue.use(Vuex);
|
|
|
const api = {
|
|
|
interface: `/api/auth/user`,
|
|
|
getMenu: `/api/auth/user/menus`,
|
|
|
+ getBusinessUser: `/api/auth/businessuser`, //pid,skip,limit
|
|
|
};
|
|
|
const state = () => ({});
|
|
|
const mutations = {};
|
|
@@ -34,6 +35,10 @@ const actions = {
|
|
|
const res = await this.$axios.$delete(`${api.interface}/${payload}`);
|
|
|
return res;
|
|
|
},
|
|
|
+ async getBusinessUser({ commit }, { skip = 0, limit = 10, ...info } = {}) {
|
|
|
+ const res = await this.$axios.$get(api.getBusinessUser, { skip, limit, ...info });
|
|
|
+ return res;
|
|
|
+ },
|
|
|
};
|
|
|
|
|
|
export default {
|