Browse Source

修改提示没有在线人工客服

zs 1 week ago
parent
commit
82e479ab87
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/store/users/customer.js

+ 4 - 0
src/store/users/customer.js

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