签到首次登录

pull/9/head
mofangmin 1 year ago
parent 76294d4762
commit 25615aae6a
  1. 2
      modules/web/handler/activity.go

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

Loading…
Cancel
Save