删除wechat无用代码
This commit is contained in:
parent
4ec0d6812b
commit
7b7f9cf8f2
|
@ -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}
|
||||||
|
|
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue