add passwd

This commit is contained in:
shoopea
2021-11-10 12:56:53 +08:00
parent 8d580181bf
commit 584ac25c36
3 changed files with 26 additions and 4 deletions

View File

@@ -35,6 +35,7 @@ type GameConfig struct {
type ClientConfig struct {
UserID int `json:"user_id"`
Username string `json:"username"`
Passwd string `json:"passwd"`
Online bool `json:"online"`
TimeLeft time.Duration `json:"time_left"`
CompanyID uint8 `json:"company_id`