From 8486c66c71480d8b84f31c5173967eda7fd4ece7 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Sat, 7 Dec 2024 10:51:21 +0800 Subject: [PATCH] update --- app/svc/im/svc_customer_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/svc/im/svc_customer_service.go b/app/svc/im/svc_customer_service.go index 44c8698..c799d6c 100644 --- a/app/svc/im/svc_customer_service.go +++ b/app/svc/im/svc_customer_service.go @@ -114,7 +114,7 @@ func UpdateCustomerServiceMemo(req md.UpdateCustomerServiceMemoReq) (err error) if err != nil { return } - if has { + if !has { return errors.New("未查询到对应记录!") } customerService.Memo = req.Memo