more fields in switch account command

This commit is contained in:
v2ray committed 2016-01-19 01:21:07 +01:00
1 parent 65d5c07533
commit 6eff759b05
9 files changed
+140 -25

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ func (u *User) UnmarshalJSON(data []byte) error {
IdString string `json:"id"`
EmailString string `json:"email"`
LevelInt int `json:"level"`
AlterIdCount int `json:"alterId"`
AlterIdCount uint16 `json:"alterId"`
}
var rawUserValue rawUser
if err := json.Unmarshal(data, &rawUserValue); err != nil {