Skip to content

Commit

Permalink
同步回调通知
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemao authored Apr 13, 2021
1 parent 6adca42 commit 4daf4fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion return.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
if($result===true){
//同步回调一般不处理业务逻辑,显示一个付款成功的页面,或者跳转到用户的财务记录页面即可。
echo '<h1>付款成功</h1>';
exit();
}
echo '不合法的请求';exit();
class AlipayService
Expand Down Expand Up @@ -106,4 +107,4 @@ function characet($data, $targetCharset) {
}
return $data;
}
}
}

0 comments on commit 4daf4fa

Please sign in to comment.