Web网页分享到新浪微博与QQ空间链接

2019-04-15 16:53发布

分享新浪微博 - 幕布
  • 分享新浪微博
    • 前端参数设置
      • var url = "${templateArticle.articleUrl?replace("\","/")}";
      • var appkey= "${templateArticle.appkey}";
      • var pic = "${templateArticle.pictureUrl?replace("\","/")}";
      • var title = "${templateArticle.title?replace(""", "\"")}";
      • var code="${templateArticle.code}";
    • 后端参数编写
      • 集中在TemplateSetviceImpl
    • 测试效果
      • var url = "https://test.wencang.com.cn/201712/19/5a4163b101221f2a.html";
      • var appkey= "2177126925";
      • var pic = "https://test.news.cccollector.com/img/w146_h0/newsSources/1/thumbnails/1b/ea/51_thumbnail.jpg";
      • var title = "北齐古墓室如何在博物馆复原,娄叡墓壁画作者到底是谁";
      • var code="utf-8";
    • 分享新浪微博链接编写
  • 分享QQ空间
    • 前端参数设置
      • var url = "${templateArticle.articleUrl?replace("\","/")}";
      • var pic = "${templateArticle.pictureUrl?replace("\","/")}";
      • var desc= "${templateArticle.title?replace(""", "\"")}";
      • var title = "${templateArticle.title?replace(""", "\"")}";
    • 后端参数编写
      • 集中在TemplateSetviceImpl
    • 测试效果
      • var url = "https://test.wencang.com.cn/201712/19/5a4163b101221f2a.html";
      • var pic = "https://test.news.cccollector.com/img/w146_h0/newsSources/1/thumbnails/1b/ea/51_thumbnail.jpg";
      • var desc= "北齐古墓室如何在博物馆复原,娄叡墓壁画作者到底是谁";
      • var title = "北齐古墓室如何在博物馆复原,娄叡墓壁画作者到底是谁";
    • 分享QQ空间链接编写




以上内容整理于
幕布 更多文章,请浏览博客: https://blog.csdn.net/qq_37022150