294cb2e3fda284894de7df39da710bf112c77c85
将原本在 Controller.Login 中处理的每日重置逻辑(如电池、任务等)迁移到 service.Info.Personself 方法中,并移除对 gtime.Now().Time 的旧引用。同时更新了 相关的时间判断函数 IsToday,使其支持 *gtime.Time 类型。 此外,清理无用导入包,优化日志打印方式,并修复部分结构体字段定义与使用问题。
blazing
这是骄阳号开发团队的开源项目,请勿用于商业用途。 在软件开发中,repo、impl、mapper 和 model 是常见的分层架构组件
项目介绍
seer-project
项目结构: go tool pprof -http :8081 "http://125.208.20.223:54612/debug/debug/pprof/profile" go tool pprof -http :8081 "http://127.0.0.1:9909/debug/pprof/profile"
详情查看 文档
Description
Languages
GO
100%