作者 竞泽

alter:doc

... ... @@ -6,7 +6,13 @@ namespace Lackoxygen\GzCbec\Facade;
use Illuminate\Support\Facades\Facade;
use Lackoxygen\GzCbec\GzCBEC;
use Lackoxygen\GzCbec\Contract\ReportInterface;
/**
* @method static ReportInterface report()
*
* @package Lackoxygen\GzCbec\Facade
*/
class GzCBECFacade extends Facade
{
/**
... ...
... ... @@ -3,11 +3,11 @@
namespace Lackoxygen\GzCbec;
use Lackoxygen\GzCbec\Factory\Report;
use Lackoxygen\GzCbec\Contract\ReportInterface;
class GzCBEC
{
public function report(): Report
public function report(): ReportInterface
{
return Factory::report();
}
... ...
... ... @@ -42,8 +42,7 @@ class Signature
return $this->client->post($this->uri, [
RequestOptions::FORM_PARAMS => [
'xml' => base64_encode($signXml)
],
RequestOptions::TIMEOUT => 60
]
]);
}
... ...