namespace

This commit is contained in:
候学杰 2018-03-19 16:36:30 +08:00
parent 87970d17ae
commit d1d1802b14
5 changed files with 7 additions and 9 deletions

View File

@ -7,7 +7,7 @@
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"InternalApi\\": "src/" "PdInternalApi\\": "src/"
}, },
"files": [ "files": [
"src/helpers.php" "src/helpers.php"

View File

@ -1,6 +1,6 @@
<?php <?php
namespace InternalApi; namespace PdInternalApi;
class Client class Client
{ {

View File

@ -1,13 +1,13 @@
<?php <?php
namespace InternalApi\Middleware; namespace PdInternalApi\Middleware;
use Closure; use Closure;
use Illuminate\Http\JsonResponse; use Illuminate\Http\JsonResponse;
use Illuminate\Support\Str; use Illuminate\Support\Str;
use function InternalApi\sign; use function PdInternalApi\sign;
class InternalApi class PdInternalApi
{ {
public function __construct() public function __construct()

View File

@ -1,8 +1,6 @@
<?php <?php
namespace InternalApi\ServiceProvider; namespace PdInternalApi;
use InternalApi\Client;
class ServiceProvider extends Illuminate\Support\ServiceProvider class ServiceProvider extends Illuminate\Support\ServiceProvider
{ {

View File

@ -1,6 +1,6 @@
<?php <?php
namespace InternalApi; namespace PdInternalApi;
/** /**
* 签名 * 签名