浏览代码

微信支付 1分钱问题

chenshibin 4 年之前
父节点
当前提交
aad6363a91
共有 1 个文件被更改,包括 5 次插入5 次删除
  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