@@ -53,12 +53,9 @@ export default {
this.getKefuInfo()
},
methods: {
- // 获取客服二维码信息
+ // 获取客服二维码,不传参服务端会根据用户身份返回客成或者客服二维码
getKefuInfo () {
- // const params = {
- // type: 'kf'
- // }
- getCustomInfo(params).then(res => {
+ getCustomInfo().then(res => {
const { error_code: code, data } = res
if(code === 0 && data) {
this.kefuInfo = data