소스 검색

修改更新时间

tanghongbin 4 년 전
부모
커밋
141e91f18c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Controller/UIDController.py

+ 1 - 1
Controller/UIDController.py

@@ -146,7 +146,7 @@ class UIDView(View):
             now_time = int(time.time())
             for item in uid_qs:
                 item.status = 1
-                item.update_time = time.time()
+                item.update_time = now_time
                 user_uid = UserUIDModel()
                 user_uid.uid = item
                 user_uid.user = allot_user_qs[0]