diff --git a/customer/service/service.go b/customer/service/service.go index c93011f..b72a1ab 100644 --- a/customer/service/service.go +++ b/customer/service/service.go @@ -9,14 +9,20 @@ type Service struct { Audit audit } -type ReplyServiceAll struct { +type ArgsServiceLists struct { + CustomerId uint + Status uint +} + +type ReplyServiceLists struct { ServiceId uint `json:"serviceId"` ServiceName string `json:"serviceName"` EndTime int64 `json:"endTime"` + AuditStatus uint `json:"auditStatus"` } // All @Title 全部服务 -func (s *Service) All(ctx context.Context, customerId uint) (reply []ReplyServiceAll, err error) { +func (s *Service) All(ctx context.Context, customerId uint) (reply []ReplyServiceLists, err error) { xClient, err := client.GetClient(s) if err != nil { return