|
@ -146,7 +146,7 @@ func HandleSuccess(order *models.UserOrder) error { |
|
|
} |
|
|
} |
|
|
go im_service.SendGroupCustomMessage(info.UserId, order.ActivityId, im_service.NoticeLiveRedPackStart, |
|
|
go im_service.SendGroupCustomMessage(info.UserId, order.ActivityId, im_service.NoticeLiveRedPackStart, |
|
|
map[string]interface{}{ |
|
|
map[string]interface{}{ |
|
|
"admin": 1, |
|
|
|
|
|
|
|
|
"admin": admin, |
|
|
"live_red_envelope_rule_id": info.Id, |
|
|
"live_red_envelope_rule_id": info.Id, |
|
|
"prompt": info.Prompt, |
|
|
"prompt": info.Prompt, |
|
|
"timestamp": time.Now().Unix(), |
|
|
"timestamp": time.Now().Unix(), |
|
|