// 支付的时候避免回调地址暴露 通过新增入口文件来转发请求
在index.php同级目录下新增notice.php
<?php /** * Created by PhpStorm. * User: EDZ * Date: 2019/5/31 * Time: 9:46 */ $_GET['s'] = 'wx***/****notify'; define('APP_PATH', __DIR__ . '/../application/'); // 加载框架引导文件 require __DIR__ . '/../thinkphp/start.php';