瀏覽代碼

fit:日志

wangshan 3 年之前
父節點
當前提交
e69fcfb686
共有 2 個文件被更改,包括 1 次插入3 次删除
  1. 0 2
      src/jfw/front/org_structure.go
  2. 1 1
      src/jfw/modules/common/src/qfw/util/jylog/jylog.go

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

@@ -72,7 +72,6 @@ func (this *OrgStructure) InvitationPage() error {
 		openId := util.ObjToString(this.Session().Get("s_m_openid"))
 		phone := util.ObjToString(this.Session().Get("phone"))
 		isSubscribe := false //是否关注
-		log.Println("openid:::::::::", openId)
 		if userId == "" {
 			if this.GetString("state") == "wx" {
 				//微信跳回来的
@@ -85,7 +84,6 @@ func (this *OrgStructure) InvitationPage() error {
 				return this.Redirect(fmt.Sprintf(config.Wxoauth, url.QueryEscape(this.Site()+this.Url()), "wx"), 302)
 			}
 		}
-		log.Println("openid----------", openId)
 		if openId != "" {
 			isSubscribe = CheckUserIsSubscribe(openId)
 			if isSubscribe {

+ 1 - 1
src/jfw/modules/common/src/qfw/util/jylog/jylog.go

@@ -30,7 +30,7 @@ var LogPath = "./jylog"
 func init() {
 	os.Mkdir(LogPath, os.ModePerm)
 	//默认保留15天内的日志,-1为永久保留
-	// initLog(15)
+	initLog(15)
 }
 
 func initLog(saveDay int) {