浏览代码

微信支付 订单

chenshibin 4 年之前
父节点
当前提交
f21fad9bc7
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Controller/CloudStorage.py

+ 1 - 2
Controller/CloudStorage.py

@@ -1178,8 +1178,7 @@ class CloudStorageView(View):
             # 获取参数
             response = ResponseObject()
 
-            price = float(price) * 100
-            parameter_dict = pay.get_parameter(orderID, content, price, ip, notify_url)
+            parameter_dict = pay.get_parameter(orderID, content, float(price) * 100, ip, notify_url)
             print('parameter_dict', parameter_dict)
             # parameter_dict 参数中获取MWEB_URL 调转页面在路径后面添加redirect_url
             # 统一调用接口