refactor lib

This commit is contained in:
2022-06-30 01:58:26 +08:00
parent 2357fa3d7e
commit af95a54aa1
6 changed files with 25 additions and 20 deletions
+6 -6
View File
@@ -1,10 +1,10 @@
local cjson = require "cjson"
--local cjson = require "cjson"
local TaskTypes = {
NOOP = 'NOOP',
UPLOAD_PICTURE = 'UPLOAD_PICTURE'
}
--
--local TaskTypes = {
-- NOOP = 'NOOP',
-- UPLOAD_PICTURE = 'UPLOAD_PICTURE'
--}
local task_server = ngx.var.task_server