diff --git a/rpc/activity.go b/rpc/activity.go index 3fd9227c9995cc89f5b8ebfeb8d1c8b736c08eba..5487c9dd821bdbc6cae86f3a585c1a796b8d39f0 100644 --- a/rpc/activity.go +++ b/rpc/activity.go @@ -49,7 +49,7 @@ func init() { } // 活动积分增加 fType: 1.上麦 2.ludo游戏完成 3.slots游戏完成 4.fruit游戏完成 5.特定座驾进入房间 -func AddActPoint(model *domain.Model, userId mysql.ID, fType mysql.Type) error { +func AddActPoint(model *domain.Model, userId mysql.ID, fType mysql.Type, roomId int64) error { defer utils.CheckGoPanic() type Response struct { Code int `json:"code"` @@ -59,6 +59,7 @@ func AddActPoint(model *domain.Model, userId mysql.ID, fType mysql.Type) error { resp, err := HttpPostForm(model, _url, nil, map[string]string{ "userId": fmt.Sprintf("%d", userId), "fType": fmt.Sprintf("%d", fType), + "roomId": fmt.Sprintf("%d", roomId), }) if err != nil { model.Log.Errorf("AddActPoint fail:%v", err)