Ver Fonte

中奖核销

k.zhang há 1 mês atrás
pai
commit
16f705fecb
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      apis/shanghu/client.active.draw.log.go

+ 1 - 0
apis/shanghu/client.active.draw.log.go

@@ -133,6 +133,7 @@ func DrawCancel(c *gin.Context) {
 		app.Error(c, 500, errors.New("不允许兑奖"), "不允许兑奖")
 		return
 	} else {
+		drawLog.IsPrize = models.Claimed
 		err = drawLog.UpdateDrawPrize()
 		if err != nil {
 			app.Error(c, 500, err, err.Error())