@@ -4,7 +4,7 @@ import _ from 'lodash';
const jwt = require('jsonwebtoken');
Vue.use(Vuex);
const api = {
- dockInfo: `/site/api/live/v0/dock/index`,
+ dockInfo: `/api/live/v0/dock/index`,
};
const state = () => ({});
const mutations = {};
- dockInfo: `/site/api/live/v0/dock/dockPw`,
+ dockInfo: `/api/live/v0/dock/dockPw`,
- interface: `/site/api/live/v0/dock/dockChat`,
+ interface: `/api/live/v0/dock/dockChat`,
@@ -13,6 +13,11 @@ const actions = {
const res = await this.$axios.$get(`${api.interface}/${key}`);
return res;
},
+ // 展会头部统计
+ async dockQuery({ commit }, key) {
+ const res = await this.$axios.$get(`${api.interface}/dockIndex`, key);
+ return res;
+ },
export default {
namespaced: true,