pathinfo()); $result = []; for ($i = 0; $i < count($paramArr); $i += 2) { $key = $paramArr[$i]; $value = isset($paramArr[$i + 1]) ? $paramArr[$i + 1] : null; $result[$key] = $value; } if(!empty($result) &&isset($result['uniacid'])){ define('UNIACID',$result['uniacid']); }else{ // return false; } //这里适配了database配置文件中获取微擎配置 //define('IA_ROOT','../../../..'); //define('MODULE_URL',str_replace("payment/notify","",__DIR__)); //define('IN_IA','payment'); //define('W7_ROUTE','api/pay/notifyx'); //$request->path('api/pay/notifyx'); // 执行应用 \think\App::run($request)->send(); ?>