Versions in this module Expand all Collapse all v0 v0.7.0 Mar 26, 2023 v0.6.0 Jan 18, 2023 v0.5.0 Jan 5, 2023 v0.4.10 Jan 1, 2024 v0.4.9 Feb 10, 2022 v0.4.8 Jan 21, 2022 v0.4.4 Jan 20, 2022 v0.4.3 Dec 17, 2021 v0.4.2 Dec 16, 2021 v0.4.1 Dec 15, 2021 v0.4.0 Dec 15, 2021 Changes in this version + type CredentialValue struct + Enabled int + Id int32 + PersonId int + Pwd string + Sign string + Usr string + type IDeliveryStaff interface + type IPerson interface + GetDomainId func() int32 + GetValue func() PersonValue + Save func() (int32, error) + SetValue func(*PersonValue) error + type IRole interface + GetDomainId func() int32 + GetValue func() RoleValue + Save func() (int32, error) + SetValue func(*RoleValue) error + type IUser interface + GetCredential func(sign string) *CredentialValue + GetPerson func() IPerson + SaveCredential func(*CredentialValue) error + type IUserManager interface + GetDeliveryStaff func() []IDeliveryStaff + GetUser func(id int32) IUser + type IUserRepo interface + GetDeliveryStaffPersons func(mchId int64) []*PersonValue + GetPersonValue func(id int32) *PersonValue + SaveCredential func(*CredentialValue) (int32, error) + SavePerson func(*PersonValue) (int32, error) + SaveRole func(*RoleValue) (int32, error) + type PersonValue struct + BirthDay int + Enabled int + Gender int + Id int32 + Name string + Phone string + RealName string + type RoleValue struct + Enabled int + Flag int + Id int32 + Name string