Selaa lähdekoodia

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

zs 8 kuukautta sitten
vanhempi
commit
82e479ab87
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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,