book a web3,8777
正在關注: 2 | 粉絲: 2
· 大約1個月 ago
module X402 class PaymentMiddleware < X402::Middleware # 必须继承 def initialize(app) @app = app enddef call(env) status, headers, body = @app.call(env)# 支付成功后记录if status == 200 && headers['X-Payment-Response'].present? && env['HTTP_X402_PAYMENT'].present? binding.pry begin ...
显示更多與您的關注者分享。
回覆