|
@@ -91,7 +91,7 @@ func (this *UseBalanceStruct) fileConsume() (r map[string]interface{}, m string,
|
|
if qutil.IntAll(sess["positionId"]) == 1 {
|
|
if qutil.IntAll(sess["positionId"]) == 1 {
|
|
userId = strconv.Itoa(qutil.IntAll(sess["positionId"]))
|
|
userId = strconv.Itoa(qutil.IntAll(sess["positionId"]))
|
|
}
|
|
}
|
|
- if ok := redis.Del("other", fmt.Sprintf("free_article_attach_%s", userId)); !ok {
|
|
|
|
|
|
+ if ok := redis.PutKV(fmt.Sprintf("free_article_attach_%s", userId), 1); !ok {
|
|
log.Println("free user clear file download power false:", userId)
|
|
log.Println("free user clear file download power false:", userId)
|
|
}
|
|
}
|
|
}
|
|
}
|