Browse Source

修改IOS日志统一存储到apple_pay

zhangdongming 1 month ago
parent
commit
809f048070
1 changed files with 6 additions and 6 deletions
  1. 6 6
      Controller/InAppPurchaseController.py

+ 6 - 6
Controller/InAppPurchaseController.py

@@ -276,8 +276,8 @@ class InAppPurchaseView(View):
                 )
                 check_thread.start()
             except Exception as e:
-                LOGGER.error(f"苹果内购认证交易订单orderID:{order_id}, 检查是否云服务代理订单异常:{repr(e)}")
-            LOGGER.info(f"苹果内购认证交易订单orderID:{order_id}")
+                logger.error(f"苹果内购认证交易订单orderID:{order_id}, 检查是否云服务代理订单异常:{repr(e)}")
+            logger.info(f"苹果内购认证交易订单orderID:{order_id}")
             return response.json(0, {'url': pay_result_url})
         except Exception as e:
             redis_obj.del_data(redis_key)
@@ -560,8 +560,8 @@ class InAppPurchaseView(View):
                     )
                     check_thread.start()
                 except Exception as e:
-                    LOGGER.error(f"App Store服务器通知orderID:{order_id}, 检查是否云服务代理订单异常:{repr(e)}")
-                LOGGER.info(f"App Store服务器通知, 续订transactionId:{transaction_id}")
+                    logger.error(f"App Store服务器通知orderID:{order_id}, 检查是否云服务代理订单异常:{repr(e)}")
+                logger.info(f"App Store服务器通知, 续订transactionId:{transaction_id}")
 
                 return HttpResponse(status=200)
 
@@ -668,8 +668,8 @@ class InAppPurchaseView(View):
                         )
                         check_thread.start()
                     except Exception as e:
-                        LOGGER.error(f"App Store服务器通知orderID:{order_id}, 检查是否云服务代理订单异常:{repr(e)}")
-                    LOGGER.info(f"App Store服务器通知, 订阅transactionId:{transaction_id}")
+                        logger.error(f"App Store服务器通知orderID:{order_id}, 检查是否云服务代理订单异常:{repr(e)}")
+                    logger.info(f"App Store服务器通知, 订阅transactionId:{transaction_id}")
 
                 return HttpResponse(status=200)