From 8dbf599811600a1199ed7d3ca9db0bf12a1f649a Mon Sep 17 00:00:00 2001 From: tommy <3405129587@qq.com> Date: Thu, 2 Jul 2020 15:31:08 +0800 Subject: [PATCH] fix:bug --- controllers/pc/auction.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/pc/auction.go b/controllers/pc/auction.go index 5f7e74d..63fd62e 100644 --- a/controllers/pc/auction.go +++ b/controllers/pc/auction.go @@ -104,7 +104,7 @@ func (t *AuctionCtl) StopAuction() { _, err = models.Add(record) t.CheckErr(err) } - go ws_send_service.SendAuction(fmt.Sprintf("%d", record.ActivityId), + go ws_send_service.SendAuction(fmt.Sprintf("%d", auction.ActivityId), "", 0, map[string]interface{}{ "type": "auction", "data": map[string]interface{}{