|
|
@ -6,7 +6,8 @@ import (
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
type Service struct {
|
|
|
|
type Service struct {
|
|
|
|
Audit audit
|
|
|
|
Audit audit
|
|
|
|
|
|
|
|
Service service
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type ArgsServiceLists struct {
|
|
|
|
type ArgsServiceLists struct {
|
|
|
@ -21,8 +22,11 @@ type ReplyServiceLists struct {
|
|
|
|
AuditStatus uint `json:"auditStatus"`
|
|
|
|
AuditStatus uint `json:"auditStatus"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type service struct {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// All @Title 全部服务
|
|
|
|
// 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)
|
|
|
|
xClient, err := client.GetClient(s)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return
|
|
|
|
return
|
|
|
|