diff --git a/customer/user.go b/customer/user.go index 850ec3f..1278a5e 100644 --- a/customer/user.go +++ b/customer/user.go @@ -5,6 +5,7 @@ import ( "git.oa00.com/supply-chain/service/client" user2 "git.oa00.com/supply-chain/service/customer/user" "git.oa00.com/supply-chain/service/lib/bean" + "github.com/shopspring/decimal" ) const ( @@ -27,15 +28,16 @@ type ArgsUserList struct { Page bean.Page } type UserItem struct { - Id uint `json:"id"` - Name string `json:"name"` - Account string `json:"account"` - Liaison string `json:"liaison"` - Phone string `json:"phone"` - Status uint `json:"status"` - CreatedType uint `json:"createdType"` - CreatedUserId uint `json:"createdUserId"` - CreatedAt int64 `json:"createdAt"` + Id uint `json:"id"` + Name string `json:"name"` + Account string `json:"account"` + Liaison string `json:"liaison"` + Phone string `json:"phone"` + Amount decimal.Decimal `json:"amount"` + Status uint `json:"status"` + CreatedType uint `json:"createdType"` + CreatedUserId uint `json:"createdUserId"` + CreatedAt int64 `json:"createdAt"` } type ReplyUserList struct { Lists []UserItem `json:"lists"`