[add] menu session data support
This commit is contained in:
parent
4ce4a0bc27
commit
61570f4a0f
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ func auth(field string, value string, password string, sid string) maps.Map {
|
|||
}
|
||||
|
||||
// 读取菜单
|
||||
menus := gou.NewProcess("yao.app.menu").Run()
|
||||
menus := gou.NewProcess("yao.app.menu").WithSID(sid).Run()
|
||||
return maps.Map{
|
||||
"expires_at": token.ExpiresAt,
|
||||
"token": token.Token,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue