|
@@ -22,6 +22,10 @@ const actions = {
|
|
|
const res = await this.$axios.$post(`${api.roomInfo}`, payload);
|
|
|
return res;
|
|
|
},
|
|
|
+ async roomfetch({ commit }, payload) {
|
|
|
+ const res = await this.$axios.$get(`${api.roomInfo}`, payload);
|
|
|
+ return res;
|
|
|
+ },
|
|
|
async fetch({ commit }, payload) {
|
|
|
const res = await this.$axios.$get(`${api.roomInfo}/${payload}`);
|
|
|
return res;
|