动态内容调整

This commit is contained in:
guange 2016-01-20 23:34:05 +08:00
parent 9d33dcf2f3
commit 6075f44786
1 changed files with 2 additions and 2 deletions

View File

@ -143,8 +143,8 @@ class WechatsController < ActionController::Base
request.reply.news(news) do |article, n, index| # article is return object
article.item title: "#{n[:content]}",
description: n[:title],
pic_url: n[:picurl],
url: "https://www.turstie.net"+n[:url]
pic_url: "https://www.turstie.net#{n[:picurl]}",
url: n[:url]
end
else
openid = request[:FromUserName]