mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
init project
This commit is contained in:
8
app/controllers/weapps/verifies_controller.rb
Normal file
8
app/controllers/weapps/verifies_controller.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
Reference in New Issue
Block a user