08 2018 档案

摘要:1.spring.xml加载映射的配置配置文件 2.加载多个配置文件 3.在配置文件中可以引用 阅读全文
posted @ 2018-08-29 16:19 浪荡小新 阅读(276) 评论(0) 推荐(0)
摘要:local t = {} -- 引入相关包local socket = require("socket") function t.main() local a,b=pcall(t.execute); if a==false then logerror(a,b); end end function t.exec... 阅读全文
posted @ 2018-08-10 14:50 浪荡小新 阅读(2923) 评论(0) 推荐(0)
摘要:local tmp_tab = {}; tmp_tab[1]="lua"; tmp_tab[2]="hello" tmp_tab[8]="aaa" for k,v in pairs(tmp_tab) do print(k..v) print(v) end for k,v in ipairs(tmp_ 阅读全文
posted @ 2018-08-10 14:47 浪荡小新 阅读(157) 评论(0) 推荐(0)