Explorar el Código

fix:pdf底部二维码改为客成逻辑

zhangsiya hace 1 año
padre
commit
67b66edeb0

+ 2 - 5
apps/bigmember_pc/src/views/download-pdf/components/PageBottom.vue

@@ -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