add service dir
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace App\Exceptions;
|
namespace App\Exceptions;
|
||||||
|
|
||||||
use App\Service\ReplyService;
|
use App\Service\Api\ReplyService;
|
||||||
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
use Illuminate\Support\Facades\Log;
|
use Illuminate\Support\Facades\Log;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace App\Http\Controllers\Base;
|
namespace App\Http\Controllers\Base;
|
||||||
|
|
||||||
use App\Service\ReplyService;
|
use App\Service\Api\ReplyService;
|
||||||
use Illuminate\Routing\Controller;
|
use Illuminate\Routing\Controller;
|
||||||
|
|
||||||
abstract class BaseController extends Controller
|
abstract class BaseController extends Controller
|
||||||
|
|||||||
@ -7,9 +7,9 @@ use App\Const\VrCode;
|
|||||||
use App\Exceptions\AppException;
|
use App\Exceptions\AppException;
|
||||||
use App\Http\Controllers\Base\CustomerBaseController;
|
use App\Http\Controllers\Base\CustomerBaseController;
|
||||||
use App\Models\Api\Customer\CustomerUserModel;
|
use App\Models\Api\Customer\CustomerUserModel;
|
||||||
use App\Service\AuthService;
|
use App\Service\Api\AuthService;
|
||||||
use App\Service\ImService;
|
use App\Service\Api\ImService;
|
||||||
use App\Service\VrCodeService;
|
use App\Service\Api\VrCodeService;
|
||||||
use App\Tools\Tools;
|
use App\Tools\Tools;
|
||||||
|
|
||||||
class CustomerUserController extends CustomerBaseController
|
class CustomerUserController extends CustomerBaseController
|
||||||
|
|||||||
@ -6,7 +6,7 @@ namespace App\Http\Controllers\Follow;
|
|||||||
use App\Exceptions\ModelException;
|
use App\Exceptions\ModelException;
|
||||||
use App\Http\Controllers\Base\BaseController;
|
use App\Http\Controllers\Base\BaseController;
|
||||||
use App\Models\Api\Follow\FollowModel;
|
use App\Models\Api\Follow\FollowModel;
|
||||||
use App\Service\AuthService;
|
use App\Service\Api\AuthService;
|
||||||
use Psr\Container\ContainerExceptionInterface;
|
use Psr\Container\ContainerExceptionInterface;
|
||||||
use Psr\Container\NotFoundExceptionInterface;
|
use Psr\Container\NotFoundExceptionInterface;
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
namespace App\Http\Controllers\Post;
|
namespace App\Http\Controllers\Post;
|
||||||
|
|
||||||
use App\Http\Controllers\Base\BaseController;
|
use App\Http\Controllers\Base\BaseController;
|
||||||
use App\Service\AuthService;
|
use App\Service\Api\AuthService;
|
||||||
|
|
||||||
class PostController extends BaseController
|
class PostController extends BaseController
|
||||||
{
|
{
|
||||||
|
|||||||
@ -5,8 +5,8 @@ use App\Const\VrCode;
|
|||||||
use App\Exceptions\AppException;
|
use App\Exceptions\AppException;
|
||||||
use App\Http\Controllers\Base\CustomerBaseController;
|
use App\Http\Controllers\Base\CustomerBaseController;
|
||||||
use App\Models\Api\Customer\CustomerUserModel;
|
use App\Models\Api\Customer\CustomerUserModel;
|
||||||
use App\Service\AuthService;
|
use App\Service\Api\AuthService;
|
||||||
use App\Service\VrCodeService;
|
use App\Service\Api\VrCodeService;
|
||||||
use Illuminate\Support\Facades\Validator;
|
use Illuminate\Support\Facades\Validator;
|
||||||
use Psr\Container\ContainerExceptionInterface;
|
use Psr\Container\ContainerExceptionInterface;
|
||||||
use Psr\Container\NotFoundExceptionInterface;
|
use Psr\Container\NotFoundExceptionInterface;
|
||||||
|
|||||||
@ -4,7 +4,7 @@ namespace App\Http\Middleware;
|
|||||||
|
|
||||||
use App\Const\Responses;
|
use App\Const\Responses;
|
||||||
use App\Models\Api\Customer\CustomerUserModel;
|
use App\Models\Api\Customer\CustomerUserModel;
|
||||||
use App\Service\AuthService;
|
use App\Service\Api\AuthService;
|
||||||
use Closure;
|
use Closure;
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
|||||||
@ -3,8 +3,7 @@
|
|||||||
namespace App\Jobs\Wallet;
|
namespace App\Jobs\Wallet;
|
||||||
|
|
||||||
use App\Bean\Queue\Wallet\QueueEventBean;
|
use App\Bean\Queue\Wallet\QueueEventBean;
|
||||||
use App\Exceptions\QueueException;
|
use App\Service\Wallet\Coin\Tron\UsdtTrx20Service;
|
||||||
use App\Service\Coin\Tron\UsdtTrx20Service;
|
|
||||||
use Illuminate\Bus\Queueable;
|
use Illuminate\Bus\Queueable;
|
||||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||||
use Illuminate\Foundation\Bus\Dispatchable;
|
use Illuminate\Foundation\Bus\Dispatchable;
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
namespace App\Jobs\Wallet;
|
namespace App\Jobs\Wallet;
|
||||||
|
|
||||||
use App\Bean\Queue\Wallet\QueueWalletBlockBean;
|
use App\Bean\Queue\Wallet\QueueWalletBlockBean;
|
||||||
use App\Service\Coin\Tron\UsdtTrx20Service;
|
use App\Service\Wallet\Coin\Tron\UsdtTrx20Service;
|
||||||
use Illuminate\Bus\Queueable;
|
use Illuminate\Bus\Queueable;
|
||||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||||
use Illuminate\Foundation\Bus\Dispatchable;
|
use Illuminate\Foundation\Bus\Dispatchable;
|
||||||
|
|||||||
@ -3,8 +3,7 @@
|
|||||||
namespace App\Jobs\Wallet;
|
namespace App\Jobs\Wallet;
|
||||||
|
|
||||||
use App\Bean\Queue\Wallet\QueueWalletBlockTransactionBean;
|
use App\Bean\Queue\Wallet\QueueWalletBlockTransactionBean;
|
||||||
use App\Exceptions\QueueException;
|
use App\Service\Wallet\Coin\Tron\UsdtTrx20Service;
|
||||||
use App\Service\Coin\Tron\UsdtTrx20Service;
|
|
||||||
use Illuminate\Bus\Queueable;
|
use Illuminate\Bus\Queueable;
|
||||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||||
use Illuminate\Foundation\Bus\Dispatchable;
|
use Illuminate\Foundation\Bus\Dispatchable;
|
||||||
|
|||||||
@ -3,10 +3,9 @@
|
|||||||
namespace App\Jobs\Wallet;
|
namespace App\Jobs\Wallet;
|
||||||
|
|
||||||
use App\Bean\Queue\Wallet\QueueWalletPlatformTransactionBean;
|
use App\Bean\Queue\Wallet\QueueWalletPlatformTransactionBean;
|
||||||
use App\Exceptions\QueueException;
|
|
||||||
use App\Models\Wallet\Wallet\WalletAddressTransactionModel;
|
use App\Models\Wallet\Wallet\WalletAddressTransactionModel;
|
||||||
use App\Service\PlatformRechargeService;
|
use App\Service\Wallet\PlatformRechargeService;
|
||||||
use App\Service\PlatformWithdrawService;
|
use App\Service\Wallet\PlatformWithdrawService;
|
||||||
use Illuminate\Bus\Queueable;
|
use Illuminate\Bus\Queueable;
|
||||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||||
use Illuminate\Foundation\Bus\Dispatchable;
|
use Illuminate\Foundation\Bus\Dispatchable;
|
||||||
|
|||||||
@ -3,8 +3,7 @@
|
|||||||
namespace App\Jobs\Wallet;
|
namespace App\Jobs\Wallet;
|
||||||
|
|
||||||
use App\Bean\Queue\Wallet\QueueWalletPlatformWithdrawTransferBean;
|
use App\Bean\Queue\Wallet\QueueWalletPlatformWithdrawTransferBean;
|
||||||
use App\Exceptions\QueueException;
|
use App\Service\Wallet\PlatformWithdrawService;
|
||||||
use App\Service\PlatformWithdrawService;
|
|
||||||
use Illuminate\Bus\Queueable;
|
use Illuminate\Bus\Queueable;
|
||||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||||
use Illuminate\Foundation\Bus\Dispatchable;
|
use Illuminate\Foundation\Bus\Dispatchable;
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Service;
|
namespace App\Service\Api;
|
||||||
|
|
||||||
use App\Const\RedisConst;
|
use App\Const\RedisConst;
|
||||||
use App\Tools\Tools;
|
use App\Tools\Tools;
|
||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace App\Service;
|
namespace App\Service\Api;
|
||||||
|
|
||||||
use App\Const\Im;
|
use App\Const\Im;
|
||||||
use App\Exceptions\AppException;
|
use App\Exceptions\AppException;
|
||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Service;
|
namespace App\Service\Api;
|
||||||
|
|
||||||
use App\Const\Responses;
|
use App\Const\Responses;
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Service;
|
namespace App\Service\Api;
|
||||||
use App\Thrid\Sms\Movider\Movider;
|
use App\Thrid\Sms\Movider\Movider;
|
||||||
use App\Thrid\Sms\SmsInterface;
|
use App\Thrid\Sms\SmsInterface;
|
||||||
|
|
||||||
@ -1,12 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Service;
|
namespace App\Service\Api;
|
||||||
|
|
||||||
use App\Const\RedisConst;
|
|
||||||
use App\Const\VrCode;
|
use App\Const\VrCode;
|
||||||
use App\Exceptions\AppException;
|
use App\Exceptions\AppException;
|
||||||
use App\Tools\Tools;
|
use App\Tools\Tools;
|
||||||
use Illuminate\Support\Carbon;
|
|
||||||
use Illuminate\Support\Env;
|
use Illuminate\Support\Env;
|
||||||
use Illuminate\Support\Facades\Redis;
|
use Illuminate\Support\Facades\Redis;
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Service\Coin\Tron;
|
namespace App\Service\Wallet\Coin\Tron;
|
||||||
|
|
||||||
use App\Bean\Model\Wallet\Wallet\WalletAddressTransactionBean;
|
use App\Bean\Model\Wallet\Wallet\WalletAddressTransactionBean;
|
||||||
use App\Bean\Queue\Wallet\QueueEventBean;
|
use App\Bean\Queue\Wallet\QueueEventBean;
|
||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Service;
|
namespace App\Service\Wallet;
|
||||||
|
|
||||||
use App\Bean\Queue\Wallet\QueueWalletPlatformTransactionBean;
|
use App\Bean\Queue\Wallet\QueueWalletPlatformTransactionBean;
|
||||||
use App\Exceptions\QueueException;
|
use App\Exceptions\QueueException;
|
||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace App\Service;
|
namespace App\Service\Wallet;
|
||||||
|
|
||||||
use App\Bean\Queue\Wallet\QueueWalletPlatformTransactionBean;
|
use App\Bean\Queue\Wallet\QueueWalletPlatformTransactionBean;
|
||||||
use App\Bean\Queue\Wallet\QueueWalletPlatformWithdrawTransferBean;
|
use App\Bean\Queue\Wallet\QueueWalletPlatformWithdrawTransferBean;
|
||||||
Reference in New Issue
Block a user