From 7276381de7388dfbd6870ec5b46fc3350875dda9 Mon Sep 17 00:00:00 2001 From: sian Date: Thu, 23 Mar 2023 11:37:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=BF=90=E8=B4=B9=E8=B4=B9?= =?UTF-8?q?=E7=8E=87=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- customer/service/service.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/customer/service/service.go b/customer/service/service.go index 25054da..e4e3510 100644 --- a/customer/service/service.go +++ b/customer/service/service.go @@ -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 {