001c86b72479efe6920bdc18663386c5710ace7c
feat(player): 优化宠物购买功能的数据查询逻辑 - 修改BuyPet方法中的数据库查询方式,使用事务内的模型查询替代直接服务调用 - 添加了更安全的数据库事务处理机制,确保购买操作的数据一致性 - 重构了宠物信息验证逻辑,提升代码可读性和维护性 ```
blazing
这是骄阳号开发团队的开源项目,请勿用于商业用途。 在软件开发中,repo、impl、mapper 和 model 是常见的分层架构组件
项目介绍
seer-project
项目结构:
go tool pprof -http :8081 "http://127.0.0.1:9909/debug/pprof/profile"
go tool pprof -http :8081 "http://202.189.15.67:62672/debug/pprof/profile" go tool pprof -http :8081 "http://8.162.8.203:9909/debug/pprof//profile" go tool pprof -http :8081 "http://8.162.23.87:9910/debug/pprof//profile" go tool pprof -http :8081 "http://61.147.247.7:36855/debug/pprof/profile" go tool pprof -http :8081 "http://61.147.247.7:43892/debug/pprof/profile"
采样 60 秒的 CPU 数据,然后通过 HTTP 8081 端口可视化
go tool pprof -http :8081 "http://61.147.247.7:43892/debug/pprof/profile?seconds=300" 详情查看 文档
Description
Languages
GO
100%