|
@@ -952,6 +952,7 @@ class CloudStorageView(View):
|
|
response = ResponseObject()
|
|
response = ResponseObject()
|
|
asy = threading.Thread(target=ModelService.add_log,
|
|
asy = threading.Thread(target=ModelService.add_log,
|
|
args=(CommonService.get_ip_address( request_dict.get('out_trade_no',None)), request_dict.get('out_trade_no',None), '进来了,微信支付成功回调'))
|
|
args=(CommonService.get_ip_address( request_dict.get('out_trade_no',None)), request_dict.get('out_trade_no',None), '进来了,微信支付成功回调'))
|
|
|
|
+ asy.start()
|
|
if result_code == 'SUCCESS':
|
|
if result_code == 'SUCCESS':
|
|
response = HttpResponse()
|
|
response = HttpResponse()
|
|
check_sign = WechatPayObject.get_notifypay(request_dict)
|
|
check_sign = WechatPayObject.get_notifypay(request_dict)
|
|
@@ -1121,7 +1122,8 @@ class CloudStorageView(View):
|
|
elif pay_type == 3:
|
|
elif pay_type == 3:
|
|
pay = WechatPayObject()
|
|
pay = WechatPayObject()
|
|
notify_url="{SERVER_DOMAIN_SSL}cloudstorage/dowechatnotify".format(
|
|
notify_url="{SERVER_DOMAIN_SSL}cloudstorage/dowechatnotify".format(
|
|
- SERVER_DOMAIN_SSL=SERVER_DOMAIN_SSL)
|
|
|
|
|
|
+ SERVER_DOMAIN_SSL=SERVER_DOMAIN)
|
|
|
|
+ # notify_url = "http://192.168.136.103/cloudstorage/doalicallback"
|
|
# 获取参数
|
|
# 获取参数
|
|
price = float(price)*100
|
|
price = float(price)*100
|
|
parameter_dict = pay.get_parameter(orderID, content, price, ip, notify_url)
|
|
parameter_dict = pay.get_parameter(orderID, content, price, ip, notify_url)
|