Browse Source

feat:增加path

wangchuanjin 1 year ago
parent
commit
312f8dd6f1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/proxy/broker/outServer/SussBi.go

+ 1 - 0
core/proxy/broker/outServer/SussBi.go

@@ -176,6 +176,7 @@ func (s *sussBi) Filter(r *ghttp.Request) error {
 	http.SetCookie(r.Response.ResponseWriter, &http.Cookie{
 		Name:  "BITOKEN",
 		Value: common.GetMd5String(fmt.Sprintf("%s_%s_%d_%d_%d_%d_%d_%d_%s_%d_%s_%d", ctx.Sess.NickName, ctx.Sess.YyName, ctx.Sess.EntRole, ctx.Sess.EntNicheDis, ctx.Sess.PositionId, ctx.Sess.AccountId, ctx.Sess.EntAccountId, ctx.Sess.EntId, ctx.Sess.EntName, ctx.Sess.EntDeptId, ctx.Sess.EntUserName, ctx.Sess.EntUserId)),
+		Path:  "/",
 	})
 	if ctx.Sess.NewUid != 0 {
 		replaceMap := map[string]interface{}{