Browse Source

微信支付 1分钱问题

chenshibin 4 years ago
parent
commit
aad6363a91
1 changed files with 5 additions and 5 deletions
  1. 5 5
      Controller/CloudStorage.py

+ 5 - 5
Controller/CloudStorage.py

@@ -1168,11 +1168,11 @@ class CloudStorageView(View):
                 SERVER_DOMAIN_SSL=SERVER_DOMAIN_SSL)
             # 获取参数
             response = ResponseObject()
-            asy = threading.Thread(target=ModelService.add_log,
-                                   args=(orderID,
-                                         orderID, '进来了,微信支付创建订单' + notify_url))
-            asy.start()
-            price = float(price) * 100
+            # asy = threading.Thread(target=ModelService.add_log,
+            #                        args=(orderID,
+            #                              orderID, '进来了,微信支付创建订单' + notify_url))
+            # asy.start()
+            # price = float(price) * 100
             parameter_dict = pay.get_parameter(orderID, content, price, ip, notify_url)
             print('parameter_dict', parameter_dict)
             # parameter_dict 参数中获取MWEB_URL 调转页面在路径后面添加redirect_url