邯郸网站定制_广州市招标网_百宝阁小程序入口_公司logo墙设计效果图 14前台首页功能界面图

">

天津金融网站设计模板

成都网站设计有限公司、凡客诚品北京科技有限公司、永久使用、不限域名、小型包工头注册公司

杭州专业网站建设公司首选?

邯郸网站定制_广州市招标网_百宝阁小程序入口_公司logo墙设计效果图

}func handleArticles(c *gin.Context) {id := c.Param("id")file := articlesMap[id]fmt.Println(id)fmt.Println(file)fileread, _ := ioutil.ReadFile(file)lines := strings.Split(string(fileread), "\n")title := string(lines[0])date := string(lines[1])summary := string(lines[2])imgfile := string(lines[3])item := strTrip(string(lines[4]))author := string(lines[5])imgfile = strTrip(imgfile)body := strings.Join(lines[5:len(lines)], "\n")//fmt.Println(body)//fmt.Printf("%#v\n", conf.Cmt.Comts)cmts := []conf.Comment{}count := 0 //评论数量for i, v := range conf.Cmt.Comts {//fmt.Printf("%#v\n", c)if v.ID == id {cmts = append(cmts, conf.Cmt.Comts[i])count++}}//文章浏览量++art := conf.Art.ArticlesMap[item][id]art.VistCnt++ //浏览数量加一conf.Art.ArticlesMap[item][id] = artgo RefreshData()p := Post{id, title, date, summary, body, file, imgfile, item, author, cmts, conf.Art.ArticlesMap[item][id].CmtCnt, conf.Art.ArticlesMap[item][id].VistCnt}c.HTML(http.StatusOK, "article.html", gin.H{"post": p, "items": conf.Item.Items, "cmtcounts": count, "newcmts": NewCmts, "newart": NewArts, "hotart": HotArts, "vistcnt": conf.Stat.ToCnt}) html5手机网站模板平台代运营是什么意思物流配货网站免费自己设计装修软件免备案云服务器沈阳模板网站建站建行网站是多少呢凡客诚品童装江门建站程序郑州网站改版鄂州论坛注册城乡规划师官网建筑工程公司logo图标大全赣州找工作哪个网站好成都网站建设推来客网站系统价格优化游戏卡顿的软件杭州造价信息网官网成都网站设计公司兴田德润实力强微信公众号小程序客服编程入门先学什么语言中国能建招聘官网深圳建筑图片域名分类有哪几种廊坊自动seo安徽省住房建设厅特种作业证客户管理系统哪个好新手seo入门教程网页代理设置彩灯制作公司工厂中央常委成员最新任职福田区做网站

猜你喜欢

  • 友情链接:
  • b2b贸易平台 江门seo平台 国外免费ppt模板网站 乐从丹灶网站建设 国外免费域名空间 如何创办自己的公司