|
|
|
@ -3,6 +3,7 @@ package service
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
|
|
|
|
"git.oa00.com/supply-chain/service/client"
|
|
|
|
|
"github.com/shopspring/decimal"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type Service struct {
|
|
|
|
@ -16,11 +17,12 @@ type ArgsServiceLists struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ReplyServiceLists struct {
|
|
|
|
|
UserServiceId uint `json:"userServiceId"`
|
|
|
|
|
ServiceId uint `json:"serviceId"`
|
|
|
|
|
ServiceName string `json:"serviceName"`
|
|
|
|
|
EndTime int64 `json:"endTime"`
|
|
|
|
|
AuditStatus uint `json:"auditStatus"`
|
|
|
|
|
UserServiceId uint `json:"userServiceId"`
|
|
|
|
|
ServiceId uint `json:"serviceId"`
|
|
|
|
|
ServiceName string `json:"serviceName"`
|
|
|
|
|
EndTime int64 `json:"endTime"`
|
|
|
|
|
AuditStatus uint `json:"auditStatus"`
|
|
|
|
|
Rate decimal.Decimal `json:"rate"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type service struct {
|
|
|
|
|