feat:完善项目

This commit is contained in:
henry
2022-01-15 11:54:05 +08:00
parent 048d116b05
commit c5fb6023f3
18 changed files with 191 additions and 129 deletions

View File

@ -27,6 +27,10 @@ func (this *Admin) TenantIDFormat() string {
return fmt.Sprintf("%d", this.TenantID)
}
func (this *Admin) UIDFormat() string {
return fmt.Sprintf("%d", this.UID)
}
func (this *Admin) MarshalBinary() ([]byte, error) {
return json.Marshal(this)
}