Explorar o código

微信支付 1分钱问题

chenshibin %!s(int64=4) %!d(string=hai) anos
pai
achega
aad6363a91
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  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