浏览代码

pc时间日志添加

WH01243 2 年之前
父节点
当前提交
803db8e232
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      src/jfw/front/shorturl.go
  2. 1 1
      src/web/templates/weixin/wxinfocontent_rec.html

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

@@ -1192,6 +1192,7 @@ func KeyWordHandle(obj map[string]interface{}) string {
 }
 func DescriptionHandle(stype string, obj map[string]interface{}) string {
 	description := ""
+	log.Println(stype, "publishtime:", obj["publishtime"], "l_publishtime", obj["l_publishtime"])
 	pushTime := time.Unix(util.Int64All(obj["publishtime"]), 0)
 	title := util.InterfaceToStr(obj["title"])
 	owner := util.InterfaceToStr(obj["owner"])

+ 1 - 1
src/web/templates/weixin/wxinfocontent_rec.html

@@ -3,7 +3,7 @@
   <meta name="Keywords" content="{{.T.obj.keywords}}"/>
   <meta name="Description" content="{{.T.obj.description}}"/>
 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
-<title>公告信息</title><meta name="Keywords" content="{{.T.obj.keywords}}"/><meta name="Description" content="{{.T.obj.description}}"/>
+<title>公告信息</title>
 <link href="{{Msg "seo" "cdn"}}/css/font.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 <link href="{{Msg "seo" "cdn"}}/css/wxcontentinfo.css?v={{Msg "seo" "version"}}2" rel="stylesheet">
 <link href="{{Msg "seo" "cdn"}}/css/bootstrap.min.css" rel="stylesheet">