|
@@ -29,7 +29,7 @@ type sussBi struct {
|
|
|
prm *ParamReplaceManager
|
|
|
}
|
|
|
|
|
|
-//参数替换
|
|
|
+// 参数替换
|
|
|
type ParamReplace struct {
|
|
|
Replace []ParamReplaceSetting
|
|
|
Match []ParamReplaceSetting
|
|
@@ -174,10 +174,14 @@ func (s *sussBi) Filter(r *ghttp.Request) error {
|
|
|
ctx := router.GetGContext(r.GetCtx())
|
|
|
if ctx.Sess.NewUid != 0 {
|
|
|
replaceMap := map[string]interface{}{
|
|
|
- "jyUserId": ctx.Sess.NewUid,
|
|
|
- "jyUserPositionId": ctx.Sess.UserPositionId,
|
|
|
- "jyUserAccountId": ctx.Sess.UserAccountId,
|
|
|
- "jyEntPositionId": ctx.Sess.EntUserPositionId,
|
|
|
+ "jyUserId": ctx.Sess.NewUid,
|
|
|
+ // "jyUserPositionId": ctx.Sess.UserPositionId,
|
|
|
+ // "jyUserAccountId": ctx.Sess.UserAccountId,
|
|
|
+ // "jyEntPositionId": ctx.Sess.EntUserPositionId,
|
|
|
+ // "jyEntAccountId": ctx.Sess.EntAccountId,
|
|
|
+ "jyUserPositionId": ctx.Sess.PositionId,
|
|
|
+ "jyUserAccountId": ctx.Sess.AccountId,
|
|
|
+ "jyEntPositionId": ctx.Sess.PositionId,
|
|
|
"jyEntAccountId": ctx.Sess.EntAccountId,
|
|
|
"jyUserName": ctx.Sess.UserName,
|
|
|
"jyEntName": ctx.Sess.EntName,
|