mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-09-17 22:09:14 +08:00
获取第一个页面的数据
This commit is contained in:
@@ -33,8 +33,10 @@ func (c *ShowPageController) WelcomePage() {
|
||||
c.Data["balance"] = accountInfo.Balance
|
||||
c.Data["unBalance"] = accountInfo.FreezeAmount
|
||||
c.Data["settleAmount"] = accountInfo.SettleAmount
|
||||
//c.Data["todayAmount"] = accountInfo.TodayIncome
|
||||
// 获取今天充值金额
|
||||
todayIncome := accountService.GetTodayIncome()
|
||||
logs.Debug("获取到当天充值金额:", todayIncome)
|
||||
c.Data["todayAmount"] = todayIncome
|
||||
|
||||
c.TplName = "welcome.html"
|
||||
}
|
||||
|
Reference in New Issue
Block a user