Created
August 9, 2014 06:21
-
-
Save fritx/2f4b7b38288657f2e394 to your computer and use it in GitHub Desktop.
demo of fix of showorders.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function agreeReturnMoneyAfterSent($id,$agree,$s){ | |
if(confirm('确认'+$s+'?')==false){ | |
//window.event.returnValue=false; | |
return; | |
} | |
$returnValue=false; | |
$.get("<?php echo WXPAY_REFUND_SELLER_AGREE_URL; ?>",{id:$id,flag:$agree},function(data,textStatus,jhr){ | |
if(data=="<?php echo WX_SUCCESS_STATUS; ?>"){ | |
alert("成功"); | |
//$returnValue=true; | |
location.href = '相应的跳转路径'; | |
} | |
else{ | |
alert("微信操作失败,请稍后再试"); | |
} | |
}); | |
//window.event.returnValue=$returnValue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment