138 lines
6.2 KiB
YAML

server:
tomcat:
max-threads: 500
accept-count: 200
red-circle:
redis:
init-expiry:
# 10分钟
ROOM_C_TOTAL_V3: 600
ROOM_LEVEL: 600
GIFT_WALL: 600
# 2小时
ROOM_JOINED_LIST: 3600
ROOM_FOLLOW_LIST: 3600
# 7天
COUNTRY: 604800
PROPS_STORE: 604800
# 2小时
SUPPORT_RELATIONSHIP_COUNTER: 3600
game-rank:
gameid: 123
endTime: 2026-02-16T05:00:00
templateId: 1994334094730010626
game:
hkys:
signKey: ${LIKEI_GAME_HKYS_SIGN_KEY}
hotgame:
signKey: ${LIKEI_GAME_HOTGAME_SIGN_KEY}
baishun:
app-id: ${LIKEI_GAME_BAISHUN_APP_ID}
app-key: ${LIKEI_GAME_BAISHUN_APP_KEY}
app-channel: ${LIKEI_GAME_BAISHUN_APP_CHANNEL}
baishun2fun:
app-id: ${LIKEI_GAME_BAISHUN2FUN_APP_ID}
app-key: ${LIKEI_GAME_BAISHUN2FUN_APP_KEY}
app-channel: ${LIKEI_GAME_BAISHUN2FUN_APP_CHANNEL}
sud:
app-id: ${LIKEI_GAME_SUD_APP_ID}
app-key: ${LIKEI_GAME_SUD_APP_KEY}
app-secret: ${LIKEI_GAME_SUD_APP_SECRET}
app-channel: ${LIKEI_GAME_SUD_APP_CHANNEL}
static-resources:
levelStyle:
wealth:
back-cover: ${resourcesUrl}/wealth_level_back.png
ribbon: ${resourcesUrl}/wealth_level_ribbon.png
resources:
- { levelRange: '1-10',levelIcon: 'https://media.haiyihy.com/level/level_1.png',levelSpecial: '${resourcesUrl}/level_special_1_v3.png' }
- { levelRange: '11-20',levelIcon: 'https://media.haiyihy.com/level/level_11.png',levelSpecial: '${resourcesUrl}/level_special_11_v3.png' }
- { levelRange: '21-30',levelIcon: 'https://media.haiyihy.com/level/level_21.png',levelSpecial: '${resourcesUrl}/level_special_21_v3.png' }
- { levelRange: '31-40',levelIcon: 'https://media.haiyihy.com/level/level_31.png',levelSpecial: '${resourcesUrl}/level_special_31_v3.png' }
- { levelRange: '41-50',levelIcon: 'https://media.haiyihy.com/level/level_41.png',levelSpecial: '${resourcesUrl}/level_special_41_v3.png' }
userLevel:
back-cover: ${resourcesUrl}/wealth_level_back.png
ribbon: ${resourcesUrl}/wealth_level_ribbon.png
resources:
- { levelRange: '1-10',levelIcon: 'https://media.haiyihy.com/level/user_level_1.png',levelSpecial: '${resourcesUrl}/level_special_1_v3.png' }
- { levelRange: '11-20',levelIcon: 'https://media.haiyihy.com/level/user_level_11.png',levelSpecial: '${resourcesUrl}/level_special_11_v3.png' }
- { levelRange: '21-30',levelIcon: 'https://media.haiyihy.com/level/user_level_21.png',levelSpecial: '${resourcesUrl}/level_special_21_v3.png' }
- { levelRange: '31-40',levelIcon: 'https://media.haiyihy.com/level/user_level_31.png',levelSpecial: '${resourcesUrl}/level_special_31_v3.png' }
- { levelRange: '41-50',levelIcon: 'https://media.haiyihy.com/level/user_level_41.png',levelSpecial: '${resourcesUrl}/level_special_41_v3.png' }
charm:
back-cover: ${resourcesUrl}/charm_level_back.png
ribbon: ${resourcesUrl}/charm_level_ribbon.png
resources:
- { levelRange: '1-10',levelIcon: '${resourcesUrl}/level_charm_1.png' }
- { levelRange: '11-20',levelIcon: '${resourcesUrl}/level_charm_11.png' }
- { levelRange: '21-30',levelIcon: '${resourcesUrl}/level_charm_21.png' }
- { levelRange: '31-40',levelIcon: '${resourcesUrl}/level_charm_31.png' }
- { levelRange: '41-50',levelIcon: '${resourcesUrl}/level_charm_41.png' }
- { levelRange: '51-60',levelIcon: '${resourcesUrl}/level_charm_51.png' }
- { levelRange: '61-70',levelIcon: '${resourcesUrl}/level_charm_61.png' }
- { levelRange: '71-80',levelIcon: '${resourcesUrl}/level_charm_71.png' }
- { levelRange: '81-90',levelIcon: '${resourcesUrl}/level_charm_81.png' }
- { levelRange: '91-100',levelIcon: '${resourcesUrl}/level_charm_91.png' }
- { levelRange: '101-110',levelIcon: '${resourcesUrl}/level_charm_101.png' }
- { levelRange: '111-120',levelIcon: '${resourcesUrl}/level_charm_111.png' }
# 测试
lucky:
gift:
go:
enabled: ${LUCKY_GIFT_GO_ENABLED}
base-url: ${GAME_LUCKY_GIFT_GO_URL}
internal-token: ${GAME_INTERNAL_CALLBACK_SECRET}
timeout-millis: ${LUCKY_GIFT_GO_TIMEOUT_MILLIS}
api:
enabled: ${LUCKY_GIFT_API_ENABLED}
# 多账号配置
configs:
- standardId: ${LUCKY_GIFT_API_CONFIG_1_STANDARD_ID}
url: ${LUCKY_GIFT_API_CONFIG_1_URL}
app_key: ${LIKEI_GAME_BAISHUN_APP_KEY}
app_id: ${LIKEI_GAME_BAISHUN_APP_ID}
app_channel: ${LIKEI_GAME_BAISHUN_APP_CHANNEL}
- standardId: ${LUCKY_GIFT_API_CONFIG_2_STANDARD_ID}
url: ${LUCKY_GIFT_API_CONFIG_2_URL}
app_key: ${LIKEI_GAME_BAISHUN_APP_KEY}
app_id: ${LIKEI_GAME_BAISHUN_APP_ID}
app_channel: ${LIKEI_GAME_BAISHUN_APP_CHANNEL}
# 默认配置(向后兼容)
url: ${LUCKY_GIFT_API_DEFAULT_URL}
app_key: ${LIKEI_GAME_BAISHUN_APP_KEY}
app_id: ${LIKEI_GAME_BAISHUN_APP_ID}
app_channel: ${LIKEI_GAME_BAISHUN_APP_CHANNEL}
activity:
ranking:
reward:
ids: 202944
scheduler:
room-empty-clean: false
room-red-packet-expire: false
game-king-reward: false
noble-daily-reward: false
gift-mq-retry: false
user-red-packet-expire: false
cp-ranking-badge: false
rocket-status-sync: false
telegram:
bot:
token: ${LIKEI_TELEGRAM_BOT_TOKEN}
monitor:
chat-ids:
- '${LIKEI_TELEGRAM_MONITOR_CHAT_ID_1}'
alert-limit-seconds: ${LIKEI_TELEGRAM_MONITOR_ALERT_LIMIT_SECONDS}
proxy-host: ${LIKEI_TELEGRAM_MONITOR_PROXY_HOST}
proxy-port: ${LIKEI_TELEGRAM_MONITOR_PROXY_PORT}
yomi:
aes_key: ${LIKEI_YOMI_AES_KEY}