feat:完善项目

This commit is contained in:
henry
2021-11-12 15:28:27 +08:00
parent 2a1aa6826c
commit f5e2063685
3 changed files with 226 additions and 17 deletions

View File

@ -15,7 +15,7 @@ type IDStringForm struct {
}
func (this *IDStringForm) Convert() uint64 {
if this.ID == "" {
if this.ID == "" || this.ID == "0" {
return 0
}
return uint64(utils.HASHIDDecode(this.ID))