|
@@ -175,7 +175,7 @@ func (s *sussBi) Filter(r *ghttp.Request) error {
|
|
ctx := router.GetGContext(r.GetCtx())
|
|
ctx := router.GetGContext(r.GetCtx())
|
|
http.SetCookie(r.Response.ResponseWriter, &http.Cookie{
|
|
http.SetCookie(r.Response.ResponseWriter, &http.Cookie{
|
|
Name: "BITOKEN",
|
|
Name: "BITOKEN",
|
|
- Value: common.GetMd5String(fmt.Sprintf("%s_%s_%d_%d_%d_%d_%d_%d_%s_%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.EntUserName, ctx.Sess.EntUserId)),
|
|
|
|
|
|
+ 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)),
|
|
})
|
|
})
|
|
if ctx.Sess.NewUid != 0 {
|
|
if ctx.Sess.NewUid != 0 {
|
|
replaceMap := map[string]interface{}{
|
|
replaceMap := map[string]interface{}{
|