|
@@ -41,7 +41,7 @@ func (BP *JyActivity) Questionnaire(userId, phone, answers string) error {
|
|
|
}
|
|
|
//保存问卷
|
|
|
if ok := award.SaveQuestionnaire(userId, phone, answers); ok {
|
|
|
- if redis.Put(BidderPlanRedis, fmt.Sprintf(QuestionnaireSubmit, userId), 1, BP.cacheLong()) != true {
|
|
|
+ if redis.Put(BidderPlanRedis, fmt.Sprintf(QuestionnaireSubmit, userId), "qs", BP.cacheLong()) != true {
|
|
|
return fmt.Errorf("redis de22q 存储异常")
|
|
|
}
|
|
|
//问卷保存后--赠送7天超级订阅
|