修改为正式版

This commit is contained in:
guange 2016-06-24 17:14:58 +08:00
parent 2c2e1892e5
commit 084b545be9
2 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@ class WechatsController < ActionController::Base
include ApplicationHelper
# ROOT_URL = "#{Setting.protocol}://#{Setting.host_name}/"
ROOT_URL = "http://wechat.trustie.net"
ROOT_URL = "http://www.trustie.net"
# default text responder when no other match
on :text do |request, content|
#邀请码

View File

@ -5,14 +5,14 @@ default: &default
# Or if using public account, only need above two line
# guange test
appid: "wxf694495398c7d470"
secret: "743e038392f1d89540e95f8f7645849a"
#appid: "wxf694495398c7d470"
#secret: "743e038392f1d89540e95f8f7645849a"
# appid: "wx8e1ab05163a28e37"
# secret: "beb4d3bc4b32b3557811680835357841"
appid: "wx8e1ab05163a28e37"
secret: "beb4d3bc4b32b3557811680835357841"
token: "123456"
access_token: "1234567"
access_token: ".access_token"
encrypt_mode: false # if true must fill encoding_aes_key
encoding_aes_key: "QGfP13YP4BbQGkkrlYuxpn4ZIDXpBJww4fxl8CObvNw"
jsapi_ticket: "C:/Users/[user_name]/wechat_jsapi_ticket"
@ -30,4 +30,4 @@ development:
<<: *default
test:
<<: *default
<<: *default