From 9debf5d54ae275123af3e2e9338659a8bf88cd99 Mon Sep 17 00:00:00 2001 From: sian Date: Thu, 3 Nov 2022 14:54:56 +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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/customer/user.go b/customer/user.go index c0a1bf5..e42c7b6 100644 --- a/customer/user.go +++ b/customer/user.go @@ -31,6 +31,7 @@ type UserItem struct { Id uint `json:"id"` Name string `json:"name"` Account string `json:"account"` + RateId uint `json:"rateId"` Liaison string `json:"liaison"` Phone string `json:"phone"` Amount decimal.Decimal `json:"amount"` @@ -152,9 +153,8 @@ func (u *user) ServiceInfo(ctx context.Context, args ArgsUserServiceInfo) (reply } type UserInfoItem struct { - Id uint `json:"id"` - Name string `json:"name"` - RateId uint `json:"rateId"` + Id uint `json:"id"` + Name string `json:"name"` } // FindByIds @Title 根据用户Ids查询用户信息