Files
daydaytalk-fwutils/target/fwutils/config.lua
2026-01-08 21:58:41 +08:00

22 lines
535 B
Lua
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
return {
-- 服务器ID如果REDIS或MYSQL与其它服务公用必须更改此参数要求唯一
server_id = "TEACHER_1234567890",
path = {
luabytecode = "cache.fw.luabytecode"
},
token = {
-- 超时时间
expire = 3600 * 24 * 30,
-- 加密算法
algorithm = "aes-256",
-- 加密模式
mode = "cbc",
-- 加密密钥
key = "kangDzFLc3MweDQH",
},
db = {
redis_pool_name = "rdb",
mysql_pool_name = "db",
}
}