修改为龙舟
This commit is contained in:
@@ -12,9 +12,10 @@ import (
|
||||
)
|
||||
|
||||
type ConfigServer struct {
|
||||
Name string
|
||||
Host string `yaml:"Host"`
|
||||
Port int `yaml:"Port"`
|
||||
Name string
|
||||
Host string `yaml:"Host"`
|
||||
Port int `yaml:"Port"`
|
||||
ReplicaId uint64 `yaml:"ReplicaId"`
|
||||
}
|
||||
|
||||
func AutoGetAllServerConfig() []*ConfigServer {
|
||||
|
||||
@@ -51,7 +51,7 @@ func NormalAfterLogic(w http.ResponseWriter, r *http.Request, resp *Response) {
|
||||
}
|
||||
}
|
||||
|
||||
func RequestParse(w http.ResponseWriter, r *http.Request, state *fsm.FsStateMachine, LogicRequest any) (*auth.UserInfo, error) {
|
||||
func RequestParse(w http.ResponseWriter, r *http.Request, state *fsm.SharedState, LogicRequest any) (*auth.UserInfo, error) {
|
||||
|
||||
token, info, err := auth.ParseJwtTokenHeader[auth.UserInfo](r) //解析Token头, 和payload信息
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user