|
@@ -961,7 +961,7 @@ class CloudStorageView(View):
|
|
response = ResponseObject()
|
|
response = ResponseObject()
|
|
asy = threading.Thread(target=ModelService.add_log,
|
|
asy = threading.Thread(target=ModelService.add_log,
|
|
args=('回调',
|
|
args=('回调',
|
|
- '回调', '进来了,微信支付成功回调' ))
|
|
|
|
|
|
+ '回调', '进来了,微信支付成功回调:'+result_code))
|
|
asy.start()
|
|
asy.start()
|
|
if result_code == 'SUCCESS':
|
|
if result_code == 'SUCCESS':
|
|
response = HttpResponse()
|
|
response = HttpResponse()
|
|
@@ -969,9 +969,13 @@ class CloudStorageView(View):
|
|
if not check_sign:
|
|
if not check_sign:
|
|
return HttpResponse(WechatPayObject.xml_to_dict({'return_code':'FAIL', 'return_msg':'签名失败'}))
|
|
return HttpResponse(WechatPayObject.xml_to_dict({'return_code':'FAIL', 'return_msg':'签名失败'}))
|
|
orderID = request_dict.get('out_trade_no',None)
|
|
orderID = request_dict.get('out_trade_no',None)
|
|
|
|
+ asy = threading.Thread(target=ModelService.add_log,
|
|
|
|
+ args=(orderID,
|
|
|
|
+ '回调', '修改订单状态'))
|
|
|
|
+ asy.start()
|
|
self.callback_dostatus(orderID)
|
|
self.callback_dostatus(orderID)
|
|
print("进来了,微信支付成功回调")
|
|
print("进来了,微信支付成功回调")
|
|
- response = ResponseObject()
|
|
|
|
|
|
+
|
|
asy = threading.Thread(target=ModelService.add_log,
|
|
asy = threading.Thread(target=ModelService.add_log,
|
|
args=(orderID,
|
|
args=(orderID,
|
|
'回调', '进来了,微信支付成功回调'))
|
|
'回调', '进来了,微信支付成功回调'))
|