fix(login):修复用户登录。

This commit is contained in:
徐涛
2022-08-13 05:53:09 +08:00
parent 1e2c4fd724
commit 2b453da668
2 changed files with 9 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ import (
type LoginResponse struct {
BaseResponse
NeedReset bool `json:"needReset"`
Session *model.Session `json:"session,omitempty"`
Session *model.Session `json:"session"`
}
func (r *Result) LoginSuccess(session *model.Session) {