作者 竞泽

alter:doc

@@ -6,7 +6,13 @@ namespace Lackoxygen\GzCbec\Facade; @@ -6,7 +6,13 @@ namespace Lackoxygen\GzCbec\Facade;
6 6
7 use Illuminate\Support\Facades\Facade; 7 use Illuminate\Support\Facades\Facade;
8 use Lackoxygen\GzCbec\GzCBEC; 8 use Lackoxygen\GzCbec\GzCBEC;
  9 +use Lackoxygen\GzCbec\Contract\ReportInterface;
9 10
  11 +/**
  12 + * @method static ReportInterface report()
  13 + *
  14 + * @package Lackoxygen\GzCbec\Facade
  15 + */
10 class GzCBECFacade extends Facade 16 class GzCBECFacade extends Facade
11 { 17 {
12 /** 18 /**
@@ -3,11 +3,11 @@ @@ -3,11 +3,11 @@
3 3
4 namespace Lackoxygen\GzCbec; 4 namespace Lackoxygen\GzCbec;
5 5
6 -use Lackoxygen\GzCbec\Factory\Report; 6 +use Lackoxygen\GzCbec\Contract\ReportInterface;
7 7
8 class GzCBEC 8 class GzCBEC
9 { 9 {
10 - public function report(): Report 10 + public function report(): ReportInterface
11 { 11 {
12 return Factory::report(); 12 return Factory::report();
13 } 13 }
@@ -42,8 +42,7 @@ class Signature @@ -42,8 +42,7 @@ class Signature
42 return $this->client->post($this->uri, [ 42 return $this->client->post($this->uri, [
43 RequestOptions::FORM_PARAMS => [ 43 RequestOptions::FORM_PARAMS => [
44 'xml' => base64_encode($signXml) 44 'xml' => base64_encode($signXml)
45 - ],  
46 - RequestOptions::TIMEOUT => 60 45 + ]
47 ]); 46 ]);
48 } 47 }
49 48