Merge branch 'master' of git.oa00.com:supply-chain/service

finance
杨赟 2 years ago
commit 23e3ce33c2

@ -9,14 +9,20 @@ type Service struct {
Audit audit Audit audit
} }
type ReplyServiceAll struct { type ArgsServiceLists struct {
CustomerId uint
Status uint
}
type ReplyServiceLists struct {
ServiceId uint `json:"serviceId"` ServiceId uint `json:"serviceId"`
ServiceName string `json:"serviceName"` ServiceName string `json:"serviceName"`
EndTime int64 `json:"endTime"` EndTime int64 `json:"endTime"`
AuditStatus uint `json:"auditStatus"`
} }
// All @Title 全部服务 // 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) xClient, err := client.GetClient(s)
if err != nil { if err != nil {
return return

Loading…
Cancel
Save