浏览代码

首页概览昨日今日签到人数统计

master
huangjiajun 2 天前
父节点
当前提交
95318f9f5e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      app/hdl/hdl_home_page.go

+ 2
- 2
app/hdl/hdl_home_page.go 查看文件

@@ -132,12 +132,12 @@ func GetActiveData(c *gin.Context) {
}

activityDb := implement.NewEggEnergyUserActivityDb(db.Db)
todayActivityCount, err := activityDb.EggEnergyUserActivityCountByDate(todayStartAt, todayEndAt)
todayActivityCount, err := activityDb.EggEnergyUserActivityCountByDate(nowStr, nowStr)
if err != nil {
e.OutErr(c, e.ERR_DB_ORM, err.Error())
return
}
yesterdayActivityCount, err := activityDb.EggEnergyUserActivityCountByDate(yesterdayStartAt, yesterdayEndAt)
yesterdayActivityCount, err := activityDb.EggEnergyUserActivityCountByDate(yesterdayStr, yesterdayStr)
if err != nil {
e.OutErr(c, e.ERR_DB_ORM, err.Error())
return


正在加载...
取消
保存