Explorar o código

解决获取不到redis值问题

chenshibin %!s(int64=4) %!d(string=hai) anos
pai
achega
9912f2dfba
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      Controller/SerialNumberController.py

+ 0 - 1
Controller/SerialNumberController.py

@@ -198,7 +198,6 @@ class SerialNumberView(View):
                 count += 1
 
             if count == 5 and value is False:  # 暂时注释
-                redisObject.rpush(key, value)
                 return response.json(5)
             userid = '3'
             user_qs = UserModel.objects.filter(id=userid)