From d41f1f707dc643b726a42b9d2a63b186dd9e4f28 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 06 八月 2024 16:12:38 +0800
Subject: [PATCH] ll
---
wechat_staff/pages/kefu/select.js | 20 ++++++++++++++------
1 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/wechat_staff/pages/kefu/select.js b/wechat_staff/pages/kefu/select.js
index e994262..f73eda1 100644
--- a/wechat_staff/pages/kefu/select.js
+++ b/wechat_staff/pages/kefu/select.js
@@ -47,15 +47,23 @@
})
batchAddLike({
articleIds: enjoyList.filter(i => i.checked).map(i => i.id).join(','),
- customerId: customer.platSourceId,
- platSourceId: customer.platSourceId,
+ customerId: customer.customerId,
+ platId: customer.platSourceId,
platSource: customer.platSource
}).then(res => {
- setTimeout(() => {
- wx.showToast({
- title: '缁戝畾鎴愬姛',icon: 'none'
+ if (res.code == 200) {
+ setTimeout(() => {
+ wx.showToast({
+ title: '缁戝畾鎴愬姛',
+ icon: 'none'
+ })
+ }, 500)
+ }else{
+ return wx.showToast({
+ title: res.message,
+ icon: 'none'
})
- }, 500)
+ }
this.setData({
customer: {}
})
--
Gitblit v1.9.3