Pārlūkot izejas kodu

微信支付 增加django日志3

chenshibin 4 gadi atpakaļ
vecāks
revīzija
5e207f2671
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      Controller/CloudStorage.py

+ 2 - 2
Controller/CloudStorage.py

@@ -958,8 +958,8 @@ class CloudStorageView(View):
         result_code = request_dict.get('result_code', None)
         result_codetwo = request.POST.dict()
         logger = logging.getLogger('log')
-        logger.info(result_code+":one")
-        logger.info(result_codetwo + ":two")
+        logger.info(result_code+':one')
+        logger.info(result_codetwo + ':two')
         try:
             if result_code == 'SUCCESS':
                 check_sign = WechatPayObject.get_notifypay(request_dict)