删除wechat无用代码

This commit is contained in:
cxt 2016-05-24 19:52:51 +08:00
parent 4ec0d6812b
commit 7b7f9cf8f2
2 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,6 @@ class WechatsController < ActionController::Base
openid: openid, openid: openid,
user: user user: user
) )
request.reply.text "欢迎加入Trustie创新实践社区"
render :json => {status:0, msg: "绑定成功"} render :json => {status:0, msg: "绑定成功"}
rescue Exception=>e rescue Exception=>e
render :json => {status: -1, msg: e.message} render :json => {status: -1, msg: e.message}

View File

@ -1,3 +1,4 @@
#coding=utf-8
#!/usr/bin/env ruby #!/usr/bin/env ruby
lib = File.expand_path(File.dirname(__FILE__) + '/../lib') lib = File.expand_path(File.dirname(__FILE__) + '/../lib')