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