mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 11:50:49 +08:00
8 lines
242 B
Ruby
8 lines
242 B
Ruby
class Weapps::VerifiesController < Weapps::BaseController
|
|
before_action :require_wechat_login!
|
|
|
|
def create
|
|
valid = Wechat::Weapp.verify?(session_openid, params[:verify_string], params[:signature])
|
|
render_ok(valid: valid)
|
|
end
|
|
end |