动态内容调整
This commit is contained in:
parent
9d33dcf2f3
commit
6075f44786
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue