From 5b206bfc60ced3c0bc3dff8d9d3713d61ea03381 Mon Sep 17 00:00:00 2001 From: sian Date: Sat, 30 Jul 2022 16:05:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- customer/user.go | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) 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"`