HashMall 前台客服插件
该插件直接内嵌在商城工程中,复用:
fcc-token登录 Token/user/getUserInfo当前会员接口utils/config.js的 API 和应用 Authorization/common/upload/image图片上传接口/kefu/user/*客服用户接口/ws/kefuWebSocket
页面中使用:
<hashmall-customer-service ref="customerService" :entry-options="entryOptions" />
宿主页面在 onShow 调用 resume(),在 onHide 调用 suspend()。