项目结构更新

This commit is contained in:
JACKYMYPERSON
2025-09-15 11:09:22 +08:00
parent 2ab7614ea0
commit 8ccf028ae4
25 changed files with 608 additions and 17 deletions

View File

@@ -0,0 +1,15 @@
package luaScripts
var Luascript_forkill = `
local key = KEYS[1]
local jian = tonumber(ARGV[1])
local dingdan = ARGV[2]
local nums = tonumber(redis.call("get", KEYS[1]) or "0")
if nums > 0 then
redis.call("DECRBY", KEYS[1], jian)
redis.call("LPUSH", KEYS[2], dingdan)
return 1
else
return 0
end
`