Browse Source

feat:详情页日志

wangshan 1 year ago
parent
commit
2b9e2ba1e1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/jfw/front/shorturl.go

+ 2 - 0
src/jfw/front/shorturl.go

@@ -139,6 +139,7 @@ func (s *Short) Article(stype, id string) error {
 }
 
 func (s *Short) LoginCommon(sess map[string]interface{}, stype, id string, bm bool) error {
+	log.Println(stype, "----stype:---", id)
 	//电脑端 剑鱼快照页面访问
 	if stype == "content" && !bm {
 		//工作桌面内嵌 快照页
@@ -221,6 +222,7 @@ func (s *Short) LoginCommon(sess map[string]interface{}, stype, id string, bm bo
 	} else if stype == "entservice" { //大客户数据快照展示
 		//se := util.SimpleEncrypt{"entservice"}
 		sid := encrypt.SE3.DecodeString(id)
+		log.Println("----sid:---", sid)
 		if len(sid) == 0 || (len(sid) > 0 && sid == "") { //未登录用户没有权限访问---userId == "" ||   未登录可以访问来自陈 11.29
 			s.Redirect("/notin/page", 302)
 			return nil