PHP code example of zjdqxd / network-freight
1. Go to this page and download the library: Download zjdqxd/network-freight library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
zjdqxd / network-freight example snippets
composer
// 上报司机
app(NetworkFreightService::class)->reportDriver([
具体字段请以陕西省监管平台的文档为准
]);
// 上报车辆
app(NetworkFreightService::class)->reportVehicle([
具体字段请以陕西省监管平台的文档为准
]);
// 上报资金流水
app(NetworkFreightService::class)->reportCapitalFlow([
具体字段请以陕西省监管平台的文档为准
]);
// 上报资金流水
app(NetworkFreightService::class)->reportTransport([
具体字段请以陕西省监管平台的文档为准
]);
php artisan vendor:publish --provider="NetworkFreight\NetworkFreightServiceProvider"
NETWORK_FREIGHT_ENV=dev