浏览代码

物料链接转发

renjiaojiao 1 月之前
父节点
当前提交
cd557f69fa
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/jfw/front/material.go

+ 1 - 0
src/jfw/front/material.go

@@ -70,6 +70,7 @@ func (m *Material) LinkTransfer(mid, personChannel string) error {
 	}
 	}
 	redis.Put("limitation", fmt.Sprintf("firstVisitTagByWX_%s", m.Session().Id()), fmt.Sprintf("materials_%s", personChannel), cacheTimeOut) //登录注册 用户标识
 	redis.Put("limitation", fmt.Sprintf("firstVisitTagByWX_%s", m.Session().Id()), fmt.Sprintf("materials_%s", personChannel), cacheTimeOut) //登录注册 用户标识
 	addLog(sess, m.Request, util.IntAll(mlid), types, personChannel, realUrl)
 	addLog(sess, m.Request, util.IntAll(mlid), types, personChannel, realUrl)
+	log.Println("重定向链接:", realUrl, imgWebpage)
 	if types == 1 {
 	if types == 1 {
 		return m.Redirect(imgWebpage)
 		return m.Redirect(imgWebpage)
 	} else {
 	} else {