|
@@ -195,6 +195,7 @@ func (s *sussBi) CheckLoginOut(r *ghttp.Request) bool {
|
|
|
|
|
|
func (s *sussBi) Filter(r *ghttp.Request) error {
|
|
|
ctx := router.GetGContext(r.GetCtx())
|
|
|
+ log.Println("wcj--1-", ctx.Sess.NewUid, ctx.Sess.PositionId)
|
|
|
if ctx.Sess.NewUid != 0 {
|
|
|
replaceMap := map[string]interface{}{
|
|
|
"jyUserId": ctx.Sess.PositionId,
|
|
@@ -210,6 +211,7 @@ func (s *sussBi) Filter(r *ghttp.Request) error {
|
|
|
}
|
|
|
if r.Request.Method == http.MethodPost {
|
|
|
bodyBytes, err := io.ReadAll(r.Request.Body)
|
|
|
+ log.Println("wcj--2-", string(bodyBytes))
|
|
|
if err != nil {
|
|
|
return err
|
|
|
}
|