Parcourir la source

微信支付回调10

chenshibin il y a 4 ans
Parent
commit
c5eac85351
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      Controller/CloudStorage.py

+ 4 - 1
Controller/CloudStorage.py

@@ -956,7 +956,10 @@ class CloudStorageView(View):
 
     def do_pay_by_wechat_callback(self, request_dict, response):
         result_code = request_dict.get('result_code', None)
-
+        asy = threading.Thread(target=ModelService.add_log,
+                               args=('回调',
+                                     '回调', request_dict))
+        asy.start()
         try:
             if result_code == 'SUCCESS':
                 check_sign = WechatPayObject.get_notifypay(request_dict)