mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-06 17:23:42 +08:00
opt: record user_id for reward verify
This commit is contained in:
@@ -59,6 +59,7 @@ func (h *RewardHandler) Verify(c *gin.Context) {
|
||||
|
||||
// 更新核销状态
|
||||
item.Status = true
|
||||
item.UserId = user.Id
|
||||
res = h.db.Updates(&item)
|
||||
if res.Error != nil {
|
||||
tx.Rollback()
|
||||
|
||||
Reference in New Issue
Block a user