This reverts commit 3c42e5259564540c6ee6034cab316138195a342b.
@@ -391,9 +391,6 @@ func (r *RaffleInfo) UserAccountInfo() (ua *Lua, err error) {
)
//今日是否已中奖
if now.Format(date.Date_Short_Layout) == strings.Split(createTime, " ")[0] {
- if tmp, ok := (*ua)[pk]; ok {
- todayNum = tmp.TodayNum
- }
todayNum += 1
}
(*ua)[pk] = &entity.LotteryUserAccount{