feat:完善信息
This commit is contained in:
@ -9,7 +9,7 @@ type UserTenant struct {
|
||||
}
|
||||
|
||||
func (m *UserTenant) LastChooseInfo(uid uint64) error {
|
||||
_, err := model.FirstField(m.UserTenant, []string{"id", "uid", "avatar", "identity"},
|
||||
_, err := model.FirstField(m.UserTenant, []string{"id", "tenant_id", "uid", "avatar", "identity"},
|
||||
model.NewWhere("uid", uid),
|
||||
model.NewWhere("selected", model.UserTenantSelectedForYes))
|
||||
return err
|
||||
|
Reference in New Issue
Block a user