@@ -65,6 +65,7 @@ type pushConfig struct {
DelayedTime int `json:"delayedTime"`
Subvip string `json:"subvip"`
Points string `json:"points"`
+ FullReduce string `json:"fullReduce"`
}
//var Config *config
@@ -32,5 +32,6 @@
"testId": "o7Y1g0Rz_1JmNep3lnIU4lfjeooI",
"delayedTime": 5,
"subvip": "天超级订阅",
- "points": "剑鱼币"
+ "points": "剑鱼币",
+ "fullReduce": "元满减卷"
@@ -65,7 +65,7 @@ func GetActivityAwardList(userId, activityCode, award string, pageSize, pageNum
} else if v["award"] == "points" {
v["award"] = common.InterfaceToStr(v["num"]) + config.PushConfig.Points
} else if v["award"] == "lottery-fullReduce" {
- v["award"] = v["detail"]
+ v["award"] = common.InterfaceToStr(v["num"]) + config.PushConfig.FullReduce
return *data, total, hasNext