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