update
This commit is contained in:
parent
97efb82971
commit
94c430f491
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher;
|
namespace catcher;
|
||||||
|
|
||||||
use think\helper\Arr;
|
use think\helper\Arr;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher;
|
namespace catcher;
|
||||||
|
|
||||||
use catcher\event\LoadModuleRoutes;
|
use catcher\event\LoadModuleRoutes;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher;
|
namespace catcher;
|
||||||
|
|
||||||
use catchAdmin\permissions\model\Users;
|
use catchAdmin\permissions\model\Users;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @filename CacheKeys.php
|
* @filename CacheKeys.php
|
||||||
* @createdAt 2020/1/17
|
* @createdAt 2020/1/17
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | CatchAdmin [Just Like ~ ]
|
// | CatchAdmin [Just Like ~ ]
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
@ -12,6 +14,7 @@ namespace catcher;
|
|||||||
|
|
||||||
use catcher\library\Composer;
|
use catcher\library\Composer;
|
||||||
use catcher\facade\FileSystem;
|
use catcher\facade\FileSystem;
|
||||||
|
use Symfony\Component\Finder\SplFileInfo;
|
||||||
use think\App;
|
use think\App;
|
||||||
use think\console\Command;
|
use think\console\Command;
|
||||||
|
|
||||||
@ -40,12 +43,12 @@ class CatchConsole
|
|||||||
|
|
||||||
$commands = [];
|
$commands = [];
|
||||||
|
|
||||||
/* \Symfony\Component\Finder\SplFileInfo $command */
|
/* \Symfony\Component\Finder\SplFileInfo $command */
|
||||||
foreach ($commandFiles as $command) {
|
foreach ($commandFiles as $command) {
|
||||||
if ($command->getExtension() === 'php') {
|
if ($command->getExtension() === 'php') {
|
||||||
$lastPath = str_replace($this->parseNamespace(), '',pathinfo($command, PATHINFO_DIRNAME));
|
$lastPath = str_replace($this->parseNamespace(), '', pathinfo($command->getPathname(), PATHINFO_DIRNAME));
|
||||||
$namespace = $this->namespace . str_replace(DIRECTORY_SEPARATOR, '\\', $lastPath) . '\\';
|
$namespace = $this->namespace . str_replace(DIRECTORY_SEPARATOR, '\\', $lastPath) . '\\';
|
||||||
$commandClass = $namespace . pathinfo($command, PATHINFO_FILENAME);
|
$commandClass = $namespace . pathinfo($command->getPathname(), PATHINFO_FILENAME);
|
||||||
$commands[] = $commandClass;
|
$commands[] = $commandClass;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher;
|
namespace catcher;
|
||||||
|
|
||||||
use app\ExceptionHandle;
|
use app\ExceptionHandle;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher;
|
namespace catcher;
|
||||||
|
|
||||||
use catcher\library\excel\Excel;
|
use catcher\library\excel\Excel;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher;
|
namespace catcher;
|
||||||
|
|
||||||
use catcher\base\CatchModel;
|
use catcher\base\CatchModel;
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher;
|
namespace catcher;
|
||||||
|
|
||||||
use think\Paginator;
|
use think\Paginator;
|
||||||
use think\Response;
|
|
||||||
use think\response\Json;
|
use think\response\Json;
|
||||||
|
|
||||||
class CatchResponse
|
class CatchResponse
|
||||||
@ -19,11 +19,11 @@ class CatchResponse
|
|||||||
*/
|
*/
|
||||||
public static function success($data = [], $msg = 'success', $code = Code::SUCCESS): Json
|
public static function success($data = [], $msg = 'success', $code = Code::SUCCESS): Json
|
||||||
{
|
{
|
||||||
return json([
|
return json([
|
||||||
'code' => $code,
|
'code' => $code,
|
||||||
'message' => $msg,
|
'message' => $msg,
|
||||||
'data' => $data,
|
'data' => $data,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -35,14 +35,14 @@ class CatchResponse
|
|||||||
*/
|
*/
|
||||||
public static function paginate(Paginator $list)
|
public static function paginate(Paginator $list)
|
||||||
{
|
{
|
||||||
return json([
|
return json([
|
||||||
'code' => Code::SUCCESS,
|
'code' => Code::SUCCESS,
|
||||||
'message' => 'success',
|
'message' => 'success',
|
||||||
'count' => $list->total(),
|
'count' => $list->total(),
|
||||||
'current' => $list->currentPage(),
|
'current' => $list->currentPage(),
|
||||||
'limit' => $list->listRows(),
|
'limit' => $list->listRows(),
|
||||||
'data' => $list->getCollection(),
|
'data' => $list->getCollection(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -55,9 +55,9 @@ class CatchResponse
|
|||||||
*/
|
*/
|
||||||
public static function fail($msg = '', $code = Code::FAILED): Json
|
public static function fail($msg = '', $code = Code::FAILED): Json
|
||||||
{
|
{
|
||||||
return json([
|
return json([
|
||||||
'code' => $code,
|
'code' => $code,
|
||||||
'message' => $msg,
|
'message' => $msg,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher;
|
namespace catcher;
|
||||||
|
|
||||||
use catchAdmin\system\model\Attachments;
|
use catchAdmin\system\model\Attachments;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher;
|
namespace catcher;
|
||||||
|
|
||||||
class Code
|
class Code
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | CatchAdmin [Just Like ~ ]
|
// | CatchAdmin [Just Like ~ ]
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher;
|
namespace catcher;
|
||||||
|
|
||||||
class Tree
|
class Tree
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher;
|
namespace catcher;
|
||||||
|
|
||||||
use catchAdmin\system\model\Config;
|
use catchAdmin\system\model\Config;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\base;
|
namespace catcher\base;
|
||||||
|
|
||||||
abstract class CatchController
|
abstract class CatchController
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | CatchAdmin [Just Like ~ ]
|
// | CatchAdmin [Just Like ~ ]
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\base;
|
namespace catcher\base;
|
||||||
|
|
||||||
use catcher\CatchQuery;
|
use catcher\CatchQuery;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @filename CatchRepository.php
|
* @filename CatchRepository.php
|
||||||
* @createdAt 2020/6/21
|
* @createdAt 2020/6/21
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\base;
|
namespace catcher\base;
|
||||||
|
|
||||||
use app\Request;
|
use app\Request;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\base;
|
namespace catcher\base;
|
||||||
|
|
||||||
use think\Validate;
|
use think\Validate;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\exceptions;
|
namespace catcher\exceptions;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\exceptions;
|
namespace catcher\exceptions;
|
||||||
|
|
||||||
use catcher\Code;
|
use catcher\Code;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\exceptions;
|
namespace catcher\exceptions;
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\exceptions;
|
namespace catcher\exceptions;
|
||||||
|
|
||||||
use catcher\Code;
|
use catcher\Code;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\exceptions;
|
namespace catcher\exceptions;
|
||||||
|
|
||||||
use catcher\Code;
|
use catcher\Code;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\exceptions;
|
namespace catcher\exceptions;
|
||||||
|
|
||||||
use catcher\Code;
|
use catcher\Code;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @filename WechatResponseException.php
|
* @filename WechatResponseException.php
|
||||||
* @createdAt 2020/6/21
|
* @createdAt 2020/6/21
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | CatchAdmin [Just Like ~ ]
|
// | CatchAdmin [Just Like ~ ]
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\facade;
|
namespace catcher\facade;
|
||||||
|
|
||||||
use think\Facade;
|
use think\Facade;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\facade;
|
namespace catcher\facade;
|
||||||
|
|
||||||
use think\Facade;
|
use think\Facade;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | CatchAdmin [Just Like ~ ]
|
// | CatchAdmin [Just Like ~ ]
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | CatchAdmin [Just Like ~ ]
|
// | CatchAdmin [Just Like ~ ]
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\library;
|
namespace catcher\library;
|
||||||
|
|
||||||
use catcher\CatchAdmin;
|
use catcher\CatchAdmin;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @filename Errors.php
|
* @filename Errors.php
|
||||||
* @createdAt 2020/6/21
|
* @createdAt 2020/6/21
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | CatchAdmin [Just Like ~ ]
|
// | CatchAdmin [Just Like ~ ]
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | CatchAdmin [Just Like ~ ]
|
// | CatchAdmin [Just Like ~ ]
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | CatchAdmin [Just Like ~ ]
|
// | CatchAdmin [Just Like ~ ]
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace catcher\library;
|
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace catcher\library;
|
||||||
|
|
||||||
use think\exception\ClassNotFoundException;
|
use think\exception\ClassNotFoundException;
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @filename ProgressBar.php
|
* @filename ProgressBar.php
|
||||||
* @createdAt 2020/6/20
|
* @createdAt 2020/6/20
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\library;
|
namespace catcher\library;
|
||||||
|
|
||||||
use catcher\CatchCacheKeys;
|
use catcher\CatchCacheKeys;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @filename WeChat.php
|
* @filename WeChat.php
|
||||||
* @date 2020/6/7
|
* @date 2020/6/7
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | CatchAdmin [Just Like ~ ]
|
// | CatchAdmin [Just Like ~ ]
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\library\client;
|
namespace catcher\library\client;
|
||||||
|
|
||||||
use catcher\exceptions\FailedException;
|
use catcher\exceptions\FailedException;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\library\client;
|
namespace catcher\library\client;
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\library\excel;
|
namespace catcher\library\excel;
|
||||||
|
|
||||||
use catcher\CatchUpload;
|
use catcher\CatchUpload;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\library\excel;
|
namespace catcher\library\excel;
|
||||||
|
|
||||||
interface ExcelContract
|
interface ExcelContract
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\library\excel;
|
namespace catcher\library\excel;
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\library\excel;
|
namespace catcher\library\excel;
|
||||||
|
|
||||||
trait MacroExcel
|
trait MacroExcel
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\library\excel;
|
namespace catcher\library\excel;
|
||||||
|
|
||||||
interface ShouldTaskContract
|
interface ShouldTaskContract
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | CatchAdmin [Just Like ~ ]
|
// | CatchAdmin [Just Like ~ ]
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | CatchAdmin [Just Like ~ ]
|
// | CatchAdmin [Just Like ~ ]
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | CatchAdmin [Just Like ~ ]
|
// | CatchAdmin [Just Like ~ ]
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | CatchAdmin [Just Like ~ ]
|
// | CatchAdmin [Just Like ~ ]
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | CatchAdmin [Just Like ~ ]
|
// | CatchAdmin [Just Like ~ ]
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\traits\db;
|
namespace catcher\traits\db;
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @filename ScopeTrait.php
|
* @filename ScopeTrait.php
|
||||||
* @createdAt 2020/6/21
|
* @createdAt 2020/6/21
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\traits\db;
|
namespace catcher\traits\db;
|
||||||
|
|
||||||
use think\facade\Db;
|
use think\facade\Db;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\validates;
|
namespace catcher\validates;
|
||||||
|
|
||||||
use catcher\library\Trie;
|
use catcher\library\Trie;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\validates;
|
namespace catcher\validates;
|
||||||
|
|
||||||
class Sometimes implements ValidateInterface
|
class Sometimes implements ValidateInterface
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace catcher\validates;
|
namespace catcher\validates;
|
||||||
|
|
||||||
interface ValidateInterface
|
interface ValidateInterface
|
||||||
|
Loading…
x
Reference in New Issue
Block a user