From 7067d2820493b5e59dc13d3b286eee4d014c6e98 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Sat, 7 Dec 2024 10:49:12 +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 6e4a4b9..44c8698 100644 --- a/app/svc/im/svc_customer_service.go +++ b/app/svc/im/svc_customer_service.go @@ -97,7 +97,7 @@ func SetCustomerServiceState(req md.SetCustomerServiceStateReq) (err error) { if err != nil { return } - if has { + if !has { return errors.New("未查询到对应记录!") } customerService.State = req.State