Method: Wechat::Responder#show
- Defined in:
- lib/wechat/responder.rb
#show ⇒ Object
178 179 180 181 182 183 184 185 |
# File 'lib/wechat/responder.rb', line 178 def show if @we_corpid.present? echostr, _corp_id = unpack(decrypt(Base64.decode64(params[:echostr]), @we_encoding_aes_key)) render plain: echostr else render plain: params[:echostr] end end |