Quellcode durchsuchen

创建云存订单时添加日志

linhaohong vor 9 Monaten
Ursprung
Commit
1da71c2408
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      Controller/CloudStorage.py

+ 1 - 0
Controller/CloudStorage.py

@@ -1251,6 +1251,7 @@ class CloudStorageView(View):
         if not all([uid, channel, pay_type, rank]):
             return response.json(444)
         pay_type = int(pay_type)
+        logger.info(f'uid:{uid}创建订单云存订单, 时间戳为{int(time.time())}, 支付类型为{pay_type}')
         device_info_qs = Device_Info.objects.filter(userID_id=user_id, UID=uid, isShare=False, isExist=1).values(
             'vodPrimaryUserID',
             'vodPrimaryMaster')