feat: include RunId in FRP Server Plugin NewProxy message
This commit is contained in:
parent
f65ffe2812
commit
486e389c26
@ -38,6 +38,7 @@ type LoginContent struct {
|
|||||||
type UserInfo struct {
|
type UserInfo struct {
|
||||||
User string `json:"user"`
|
User string `json:"user"`
|
||||||
Metas map[string]string `json:"metas"`
|
Metas map[string]string `json:"metas"`
|
||||||
|
RunId string `json:"run_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type NewProxyContent struct {
|
type NewProxyContent struct {
|
||||||
|
@ -422,6 +422,7 @@ func (ctl *Control) manager() {
|
|||||||
User: plugin.UserInfo{
|
User: plugin.UserInfo{
|
||||||
User: ctl.loginMsg.User,
|
User: ctl.loginMsg.User,
|
||||||
Metas: ctl.loginMsg.Metas,
|
Metas: ctl.loginMsg.Metas,
|
||||||
|
RunId: ctl.loginMsg.RunId,
|
||||||
},
|
},
|
||||||
NewProxy: *m,
|
NewProxy: *m,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user