interceptor.lua 161 B

123456789
  1. function access()
  2. if request:pstring("key") == "123456" then
  3. return true
  4. end
  5. response:send("密钥不正确,已被拦截器拦截.")
  6. return false
  7. end