浏览代码

wip:merge

WH01243 3 年之前
父节点
当前提交
7be5704f47
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/jfw/modules/publicapply/src/filter/sessionfilter.go

+ 2 - 2
src/jfw/modules/publicapply/src/filter/sessionfilter.go

@@ -22,9 +22,9 @@ func (l *sessionfilter) Do(w http.ResponseWriter, req *http.Request) bool {
 		return true
 	}
 	session := l.App.SessionManager.Session(req, w)
-	session.Set("userId","5f5b395723d21d2fb0e8a318")
+/*	session.Set("userId","5f5b395723d21d2fb0e8a318")
 	session.Set("entUserId","171")
-	session.Set("entUserId","3602")
+	session.Set("entUserId","3602")*/
 	userId, ok := session.Get("userId").(string)
 	if !ok || userId == "" {
 		R.ServeJson(w, req, &Result{Error_code_1004, Error_msg_1004, nil})