refactor: 重构抽奖逻辑以支持可验证凭据 feat(redis): 集成Redis客户端并添加配置支持 fix: 修复订单取消时的优惠券和库存处理逻辑 docs: 添加对对碰游戏前端对接指南和示例JSON test: 添加对对碰游戏模拟测试和验证逻辑
24 lines
651 B
Markdown
24 lines
651 B
Markdown
# mini-chat
|
||
|
||
## 接口文档
|
||
|
||
- 接口文档:http://127.0.0.1:9991/swagger/index.html
|
||
- 心跳检测:http://127.0.0.1:9991/system/health
|
||
|
||
## 服务地址
|
||
|
||
- https://mini-chat.1024tool.vip/swagger/index.html
|
||
|
||
## 打包命令
|
||
|
||
### MAC
|
||
```
|
||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -tags timetzdata -trimpath -o build/bindbox.exe .
|
||
```
|
||
|
||
|
||
export DOCKER_DEFAULT_PLATFORM=linux/amd64
|
||
docker build -t zfc931912343/bindbox-game:v1.8 .
|
||
docker push zfc931912343/bindbox-game:v1.8
|
||
|
||
docker pull zfc931912343/bindbox-game:v1.8 &&docker rm -f bindbox-game && docker run -d --name bindbox-game -p 9991:9991 zfc931912343/bindbox-game:v1.8 |