main
yanzai 1 year ago
parent e8df67dcd0
commit cc59eb387d

Binary file not shown.

@ -6,7 +6,7 @@ use App\Services\LogService;
use Closure; use Closure;
use Illuminate\Http\Request; use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
class XmlLog class XmlLog
{ {
/** /**
@ -22,11 +22,11 @@ class XmlLog
$routers=[ $routers=[
"接收申请单"=>'/api/v1/T/CreateEntrustRecordXml', "接收申请单"=>'/api/v1/T/CreateEntrustRecordXml',
]; ];
Log::info($request->getContent());
$insertid=0; $insertid=0;
$data=[ $data=[
'mark'=>array_search($request->getPathInfo(), $routers), 'mark'=>array_search($request->getPathInfo(), $routers),
'ip'=>Log::getTrustedProxiesIp(), 'ip'=>"",
'request_header'=>$request->header(), 'request_header'=>$request->header(),
'post_data'=>$request->getContent(), 'post_data'=>$request->getContent(),
'get_data'=>[], 'get_data'=>[],

Binary file not shown.
Loading…
Cancel
Save