Commit 40cea9e5 authored by chenweijian's avatar chenweijian

开斋节活动

parent f0250bec
...@@ -49,7 +49,7 @@ func init() { ...@@ -49,7 +49,7 @@ func init() {
} }
// 活动积分增加 fType: 1.上麦 2.ludo游戏完成 3.slots游戏完成 4.fruit游戏完成 5.特定座驾进入房间 // 活动积分增加 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() defer utils.CheckGoPanic()
type Response struct { type Response struct {
Code int `json:"code"` Code int `json:"code"`
...@@ -58,7 +58,6 @@ func AddActPoint(model *domain.Model, actId, userId mysql.ID, fType mysql.Type) ...@@ -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()) _url := fmt.Sprintf("%v://%v/inner/act/addPoint", defaultActivityServerScheme, getActivityHost())
resp, err := HttpPostForm(model, _url, nil, map[string]string{ resp, err := HttpPostForm(model, _url, nil, map[string]string{
"userId": fmt.Sprintf("%d", userId), "userId": fmt.Sprintf("%d", userId),
"actId": fmt.Sprintf("%d", actId),
"fType": fmt.Sprintf("%d", fType), "fType": fmt.Sprintf("%d", fType),
}) })
if err != nil { if err != nil {
......
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