zjzwjcbj commented on issue #5791:
URL: https://github.com/apache/apisix/issues/5791#issuecomment-994200350


   > can you show the `third-party` plugin' code as text, let me check it.
   
   local core = require("apisix.core")
   local plugin_name = "third-plugin"
   local schema = {
       type = "object",
       properties = {
           content = {
               type = "string" }
       }
   }
   
   local _M = {
       version = 0.2,
       priority = 5000,
       name = plugin_name,
       schema = schema,
   }
   
   function _M.access(conf, ctx)
       core.log.warn("test--------")
       core.log.warn(conf.content)
   end
   
   return _M


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to