Commit 1349a52b authored by hujiebin's avatar hujiebin

Revert "feat:做一下版本兼容"

This reverts commit 3a6c617f.
parent 3a6c617f
......@@ -68,12 +68,10 @@ func SendGlobalRocketNotice(groupId string, period string, round uint32, stage u
}
// 发送钻石变化通知
func SendDiamondChange(userId uint64, diamond uint32, pinkDiamond ...uint32) error {
func SendDiamondChange(userId uint64, diamond, pinkDiamond uint32) error {
msg := &userProxy.DiamondChange{
RemainDiamond: diamond,
}
if len(pinkDiamond) > 0 {
msg.RemainPinkDiamond = pinkDiamond[0]
RemainDiamond: diamond,
RemainPinkDiamond: pinkDiamond,
}
if buffer, err := proto.Marshal(msg); err == nil {
rspUids, err := multicast([]uint64{userId}, MsgDiamondChange, buffer)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment