实现原理 编写lua脚本代码实现缓存预热,将mysql里面的数据查出来存放到redis中去 编写lua脚本 创建一个lua文件夹,编写ad_update.lua脚本代码 在操作这个步骤的时候,我出现了attempt to perform arithmetic on field ‘packet_no’ (a nil value) 的错误 经过网络查找和求问老师后,最终发现出现这个错误的原因是因为要把