|
|
|
@ -995,6 +995,7 @@ func GetSignNewInfo(uid int) (resp *values.ActivitySignInfoResp) { |
|
|
|
db.Mysql().Get(data) |
|
|
|
db.Mysql().Get(data) |
|
|
|
if data.ID == 0 { |
|
|
|
if data.ID == 0 { |
|
|
|
user, _ := call.GetUserXInfo(uid, "birth") |
|
|
|
user, _ := call.GetUserXInfo(uid, "birth") |
|
|
|
|
|
|
|
data.Wheel = 1 |
|
|
|
db.Mysql().Create(&common.ActivitySignData{UID: uid, Time: user.Birth}) |
|
|
|
db.Mysql().Create(&common.ActivitySignData{UID: uid, Time: user.Birth}) |
|
|
|
data.Time = user.Birth |
|
|
|
data.Time = user.Birth |
|
|
|
} |
|
|
|
} |
|
|
|
@ -1840,6 +1841,7 @@ func ActivityBetDrawHistory(c *gin.Context) { |
|
|
|
defer func() { |
|
|
|
defer func() { |
|
|
|
a.Response() |
|
|
|
a.Response() |
|
|
|
}() |
|
|
|
}() |
|
|
|
|
|
|
|
a.GetUID() |
|
|
|
req := values.ActivityBetDrawRecordReq{} |
|
|
|
req := values.ActivityBetDrawRecordReq{} |
|
|
|
if !a.S(&req) { |
|
|
|
if !a.S(&req) { |
|
|
|
return |
|
|
|
return |
|
|
|
|