Commit 95b22ec5 by lanrion

clean codes

parent 227b6594
...@@ -22,7 +22,7 @@ module WeixinAuthorize ...@@ -22,7 +22,7 @@ module WeixinAuthorize
# 通过ticket换取二维码, 直接访问即可显示! # 通过ticket换取二维码, 直接访问即可显示!
def qr_code_url(ticket) def qr_code_url(ticket)
"https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=#{ticket}" WeixinAuthorize.mp_endpoint("/showqrcode?ticket=#{ticket}")
end end
private private
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment