feat:优化信息

This commit is contained in:
henry
2021-11-24 09:08:07 +08:00
parent bcfe119972
commit d3f24450fb
9 changed files with 451 additions and 351 deletions

View File

@ -20,7 +20,7 @@ func (this *Session) MarshalBinary() ([]byte, error) {
}
func (this *Session) UnmarshalBinary(data []byte) error {
return utils.FromJSONBytes(data, this)
return json.Unmarshal(data, this)
}
func (this *Session) UIDToString() string {