Эх сурвалжийг харах

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

wangshan 1 жил өмнө
parent
commit
a3a0dd4e25

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

@@ -3,7 +3,6 @@ package entity
 import (
 	"app.yhyue.com/moapp/jybase/go-xweb/httpsession"
 	"app.yhyue.com/moapp/jybase/redis"
-	"bp.jydev.jianyu360.cn/BaseService/powerCheckCenter/entity"
 	"encoding/json"
 	"fmt"
 	"github.com/gogf/gf/v2/util/gconv"
@@ -92,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(entity.PowerCacheDb, fmt.Sprintf(entity.PowerCacheFileKey, userId)); !ok {
+		if ok := redis.Del("other", fmt.Sprintf("free_article_attach_%s", userId)); !ok {
 			log.Println("free user clear file  download power  false:", userId)
 		}
 	}