摘要: 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 阅读全文
posted @ 2019-03-12 22:24 qq260250932 阅读(2890) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/heyuchang666/article/details/52403087 阅读全文
posted @ 2019-03-12 21:55 qq260250932 阅读(1930) 评论(0) 推荐(0) 编辑