Files
oil/server-tp6/public/qytwaybill.php
T
vipnub fafd3e2c16 1、合作商余额查询
2、分油账户司机可用额度
2026-10-20 23:21:10 +08:00

28 lines
833 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
// [ 企油通 3.10 发放结果通知入口 ]
// 把本文件的外网地址给企油通对接人,配到「运单油费下发(scene=oil)」的接收地址上:
// https://你的域名/qytwaybill.php
// 注意:3.10 一条通知携带整批明细(最多约 1 万条),接收端的请求体大小限制要放宽,
// 建议 php.ini: post_max_size >= 20M;nginx: client_max_body_size 20m;
namespace think;
// 检测PHP环境
if (version_compare(PHP_VERSION, '7.1.0', '<')) die('require PHP > 7.1.0 !');
// 加载核心文件
require __DIR__ . '/../vendor/autoload.php';
// 执行HTTP应用并响应
$http = (new App())->http;
// 手动指定路由
$_SERVER['PATH_INFO'] = '/qytNotify/waybill';
// 绑定 api 应用
$response = $http->name('api')->run();
$response->send();
$http->end($response);