|
|
|
@ -143,7 +143,7 @@ class WechatsController < ActionController::Base
|
|
|
|
|
url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=#{Wechat.config.appid}&redirect_uri=#{login_wechat_url}&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect"
|
|
|
|
|
article.item title: "#{n[:title]}",
|
|
|
|
|
description: n[:content],
|
|
|
|
|
pic_url: 'http://wechat.trustie.net/images/trustie_logo2.png',
|
|
|
|
|
pic_url: 'https://www.trustie.net/images/trustie_logo2.png',
|
|
|
|
|
url: url
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|