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