|
|
@ -3,6 +3,7 @@ package service
|
|
|
|
import (
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
"context"
|
|
|
|
"git.oa00.com/supply-chain/service/client"
|
|
|
|
"git.oa00.com/supply-chain/service/client"
|
|
|
|
|
|
|
|
"github.com/shopspring/decimal"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
type Service struct {
|
|
|
|
type Service struct {
|
|
|
@ -16,11 +17,12 @@ type ArgsServiceLists struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type ReplyServiceLists struct {
|
|
|
|
type ReplyServiceLists struct {
|
|
|
|
UserServiceId uint `json:"userServiceId"`
|
|
|
|
UserServiceId uint `json:"userServiceId"`
|
|
|
|
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"`
|
|
|
|
AuditStatus uint `json:"auditStatus"`
|
|
|
|
|
|
|
|
Rate decimal.Decimal `json:"rate"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type service struct {
|
|
|
|
type service struct {
|
|
|
|