随笔分类 - lua脚本语言&触动精灵
摘要: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
阅读全文
摘要:Programming in Lua程序设计 http://book.luaer.cn/ Lua完全自学手册(图文教程) https://edu.aliyun.com/course/506/lesson/list?utm_content=m_1000009885 触动精灵脚本开发手册 https:/
阅读全文