随笔分类 -  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 阅读全文
posted @ 2019-03-12 22:24 qq260250932 阅读(2918) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/heyuchang666/article/details/52403087 阅读全文
posted @ 2019-03-12 21:55 qq260250932 阅读(1976) 评论(0) 推荐(0) 编辑
摘要:Programming in Lua程序设计 http://book.luaer.cn/ Lua完全自学手册(图文教程) https://edu.aliyun.com/course/506/lesson/list?utm_content=m_1000009885 触动精灵脚本开发手册 https:/ 阅读全文
posted @ 2019-02-28 22:30 qq260250932 阅读(1094) 评论(0) 推荐(0) 编辑