pzb %!s(int64=5) %!d(string=hai) anos
pai
achega
7cbe067d97
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Controller/UserBrandController.py

+ 1 - 1
Controller/UserBrandController.py

@@ -539,7 +539,7 @@ class UserBrandInfo(View):
             # print (redisObj.llen(name=logKey))
             # 判断redis列表长度
             try:
-                if redisObj.llen(name=logKey) > 3:
+                if redisObj.llen(name=logKey) == 100 :
                     data_list = redisObj.lrange(logKey, 0, -1)
                     redisObj.del_data(key=logKey)
                     # 添加user_brand_all表信息