Authored by chunhua.zhang

add

... ... @@ -132,7 +132,7 @@ function cutdown()
local method = http_request.get_method()
local app_version = http_request.get_req_param("app_version")
if method and ( method == "app.cutdownprice.cut" and app_version < "2.9.5" ) then
if method and method == "app.cutdownprice.cut" and app_version < "2.9.5" then
ngx.log(ngx.ERR, "[NOT ALLOWED]")
local rsp ='{"code": 10000, "message": "请升级小程序"}'
... ... @@ -151,7 +151,7 @@ end
function main()
init_read_body()
cutdown()
if is_white() then
return
else
... ...