diff --git a/rpc/activity.go b/rpc/activity.go index efaf5f21205a24caa6218b334c02c7a853896cf7..3fd9227c9995cc89f5b8ebfeb8d1c8b736c08eba 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, actId, userId mysql.ID, fType mysql.Type) error { +func AddActPoint(model *domain.Model, userId mysql.ID, fType mysql.Type) error { defer utils.CheckGoPanic() type Response struct { Code int `json:"code"` @@ -58,7 +58,6 @@ func AddActPoint(model *domain.Model, actId, userId mysql.ID, fType mysql.Type) _url := fmt.Sprintf("%v://%v/inner/act/addPoint", defaultActivityServerScheme, getActivityHost()) resp, err := HttpPostForm(model, _url, nil, map[string]string{ "userId": fmt.Sprintf("%d", userId), - "actId": fmt.Sprintf("%d", actId), "fType": fmt.Sprintf("%d", fType), }) if err != nil {