摘要:
a.lua和b.lua在同一个目录下 a.lua调用b.lua中的test方法,注意b中test的写法 _M 和 a中调用方法: b.lua local _M = {}function _M.test() ngx.say("hello test!")endreturn _M a.lua local 阅读全文
摘要:
https://blog.csdn.net/heyuchang666/article/details/52403087 阅读全文