refactor: 重构抽奖逻辑以支持可验证凭据 feat(redis): 集成Redis客户端并添加配置支持 fix: 修复订单取消时的优惠券和库存处理逻辑 docs: 添加对对碰游戏前端对接指南和示例JSON test: 添加对对碰游戏模拟测试和验证逻辑
31 lines
616 B
TOML
31 lines
616 B
TOML
[mysql]
|
|
[mysql.read]
|
|
addr = "127.0.0.1:3306"
|
|
user = "root"
|
|
pass = "123456"
|
|
name = "bindbox_game"
|
|
[mysql.write]
|
|
addr = "127.0.0.1:3306"
|
|
user = "root"
|
|
pass = "123456"
|
|
name = "bindbox_game"
|
|
|
|
[redis]
|
|
addr = "118.25.13.43:8379"
|
|
pass = "xbm#2023by1024"
|
|
db = 5
|
|
|
|
[random]
|
|
commit_master_key = "a1b2c3d4e5f6789012345678901234567890abcdef1234567890abcdef123456"
|
|
|
|
[wechat]
|
|
app_id = ""
|
|
app_secret = ""
|
|
lottery_result_template_id = ""
|
|
|
|
[wechatpay]
|
|
mchid = ""
|
|
serial_no = ""
|
|
private_key_path = ""
|
|
api_v3_key = ""
|
|
notify_url = "http://localhost:9991/api/pay/wechat/notify" |