没有引入第三方模块resty:
解决:
1、下载第三方模块依赖:https://github.com/ledgetech/lua-resty-http
2、将lua-resty-http/lib/resty下的两个文件http.lua和http_headers.lua拷贝到/usr/local/openresty/lualib/resty目录下(目标路径根据 个人安装的openresty路径为准,这里是默认安装路径)
3、重启项目,检查错误日志。
没有引入第三方模块resty:
解决:
1、下载第三方模块依赖:https://github.com/ledgetech/lua-resty-http
2、将lua-resty-http/lib/resty下的两个文件http.lua和http_headers.lua拷贝到/usr/local/openresty/lualib/resty目录下(目标路径根据 个人安装的openresty路径为准,这里是默认安装路径)
3、重启项目,检查错误日志。