|
@@ -202,7 +202,9 @@ type UsersItem struct {
|
|
Mobile string `description:"手机号"`
|
|
Mobile string `description:"手机号"`
|
|
MobileHidden string `description:"手机号(隐藏中间四位)"`
|
|
MobileHidden string `description:"手机号(隐藏中间四位)"`
|
|
AreaCode string `description:"区号"`
|
|
AreaCode string `description:"区号"`
|
|
|
|
+ SellerId int `description:"销售ID"`
|
|
SellerName string `description:"销售名称"`
|
|
SellerName string `description:"销售名称"`
|
|
|
|
+ CompanyId int `description:"所属机构ID"`
|
|
CompanyName string `description:"所属机构名称"`
|
|
CompanyName string `description:"所属机构名称"`
|
|
Status int `description:"用户类型:1-试用用户;2-正式用户"`
|
|
Status int `description:"用户类型:1-试用用户;2-正式用户"`
|
|
AuthStatus int `description:"权限状态:0-关闭;1-开启"`
|
|
AuthStatus int `description:"权限状态:0-关闭;1-开启"`
|
|
@@ -223,7 +225,9 @@ func (m *Users) Format2Item() (item *UsersItem) {
|
|
item.Mobile = m.Mobile
|
|
item.Mobile = m.Mobile
|
|
item.MobileHidden = utils.HideMobileMiddle(m.Mobile)
|
|
item.MobileHidden = utils.HideMobileMiddle(m.Mobile)
|
|
item.AreaCode = m.AreaCode
|
|
item.AreaCode = m.AreaCode
|
|
|
|
+ item.SellerId = m.SellerId
|
|
item.SellerName = m.SellerName
|
|
item.SellerName = m.SellerName
|
|
|
|
+ item.CompanyId = m.CompanyId
|
|
item.CompanyName = m.CompanyName
|
|
item.CompanyName = m.CompanyName
|
|
item.Status = m.Status
|
|
item.Status = m.Status
|
|
item.AuthStatus = m.AuthStatus
|
|
item.AuthStatus = m.AuthStatus
|