From 24e3ab7ac4d923e67f21d6237c0a690d268f5c29 Mon Sep 17 00:00:00 2001 From: sian Date: Fri, 12 Aug 2022 13:55:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- customer/service/service.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/customer/service/service.go b/customer/service/service.go index b72a1ab..3eaf512 100644 --- a/customer/service/service.go +++ b/customer/service/service.go @@ -6,7 +6,8 @@ import ( ) type Service struct { - Audit audit + Audit audit + Service service } type ArgsServiceLists struct { @@ -21,8 +22,11 @@ type ReplyServiceLists struct { AuditStatus uint `json:"auditStatus"` } +type service struct { +} + // All @Title 全部服务 -func (s *Service) All(ctx context.Context, customerId uint) (reply []ReplyServiceLists, err error) { +func (s *service) All(ctx context.Context, customerId uint) (reply []ReplyServiceLists, err error) { xClient, err := client.GetClient(s) if err != nil { return