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