Przeglądaj źródła

Merge branch 'feature/v4.8.85_ws' of qmx/jy into feature/v4.8.85

wangshan 1 rok temu
rodzic
commit
c6d6a56347

+ 1 - 1
src/jfw/modules/subscribepay/src/entity/basePack.go

@@ -91,7 +91,7 @@ func (this *UseBalanceStruct) fileConsume() (r map[string]interface{}, m string,
 		if qutil.IntAll(sess["positionId"]) == 1 {
 			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)
 		}
 	}