diff --git a/controllers/client/upper_wall.go b/controllers/client/upper_wall.go index f70dda9..7b370c9 100644 --- a/controllers/client/upper_wall.go +++ b/controllers/client/upper_wall.go @@ -14,7 +14,6 @@ type UpperWallCtl struct { } //发送上墙消息 -// todo: 支付接口 func (t *UpperWallCtl) Send() { uid := t.MustGetUID() activityId := t.MustGetInt64("activity_id") diff --git a/controllers/pc/lottery_draw.go b/controllers/pc/lottery_draw.go index 49da783..7c395de 100644 --- a/controllers/pc/lottery_draw.go +++ b/controllers/pc/lottery_draw.go @@ -117,9 +117,6 @@ func (t *LotteryDrawCtl) StopRoll() { t.CheckErr(err) t.Assert(exist, code.MSG_LOTTERY_RULE_NOT_EXIST, "抽奖规则不存在") - //if ladder.Status != define.StatusRunning { - // t.ERROR(fmt.Sprintf("该活动%s", ladder.Status), code.MSG_ERR) - //} // 通知直播开始抽奖 if activity.RehearsalId == 0 { live := new(models.LiveConfig) @@ -155,10 +152,6 @@ func (t *LotteryDrawCtl) Stop() { t.CheckErr(err) t.Assert(exist, code.MSG_LOTTERY_RULE_NOT_EXIST, "抽奖规则不存在") - //if ladder.Status != define.StatusRunning { - // t.ERROR(fmt.Sprintf("该活动%s", ladder.Status), code.MSG_ERR) - //} - ladder.Status = define.StatusEnding ladder.UpdatedAt = time.Now() ladder.RollNum = 0