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": {
"psr-4": {
"InternalApi\\": "src/"
"PdInternalApi\\": "src/"
},
"files": [
"src/helpers.php"

View File

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

View File

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

View File

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

View File

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