This commit is contained in:
2022-12-26 22:46:51 +08:00
parent 68af177368
commit 215e337d39
5 changed files with 159 additions and 2 deletions
+1
View File
@@ -14,6 +14,7 @@ function _M.upt(uri)
local sign = ngx.md5(secret .. '&' .. etime .. '&' .. uri)
ngx.log(ngx.INFO, 'sign...' .. sign .. ' etime..' .. etime)
local upt = string.sub(sign, 13, 13 + 7) .. etime
ngx.log(ngx.INFO, 'upt...' .. upt)
return (upt)
end