fix namespace
This commit is contained in:
parent
ea86e944cf
commit
b0d73eaccd
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace Webman\Admin\plugin\admin\app\common;
|
namespace plugin\admin\app\common;
|
||||||
|
|
||||||
use plugin\admin\app\common\Util;
|
use plugin\admin\app\common\Util;
|
||||||
use support\exception\BusinessException;
|
use support\exception\BusinessException;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Webman\Admin\plugin\admin\app\common;
|
namespace plugin\admin\app\common;
|
||||||
|
|
||||||
use process\Monitor;
|
use process\Monitor;
|
||||||
use Throwable;
|
use Throwable;
|
||||||
@ -11,8 +11,6 @@ use support\exception\BusinessException;
|
|||||||
use support\Db;
|
use support\Db;
|
||||||
use Workerman\Timer;
|
use Workerman\Timer;
|
||||||
use Workerman\Worker;
|
use Workerman\Worker;
|
||||||
use function plugin\admin\app\common\base_path;
|
|
||||||
use function plugin\admin\app\common\config;
|
|
||||||
|
|
||||||
class Util
|
class Util
|
||||||
{
|
{
|
||||||
|
@ -1,19 +1,16 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Webman\Admin\plugin\admin\app\controller;
|
namespace plugin\admin\app\controller;
|
||||||
|
|
||||||
use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
|
use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
|
||||||
use Illuminate\Database\Query\Builder as QueryBuilder;
|
use Illuminate\Database\Query\Builder as QueryBuilder;
|
||||||
use plugin\admin\app\common\Auth;
|
use plugin\admin\app\common\Auth;
|
||||||
use plugin\admin\app\common\Tree;
|
use plugin\admin\app\common\Tree;
|
||||||
use plugin\admin\app\common\Util;
|
use plugin\admin\app\common\Util;
|
||||||
use plugin\admin\app\controller\Base;
|
|
||||||
use support\exception\BusinessException;
|
use support\exception\BusinessException;
|
||||||
use support\Model;
|
use support\Model;
|
||||||
use support\Request;
|
use support\Request;
|
||||||
use support\Response;
|
use support\Response;
|
||||||
use function plugin\admin\app\controller\config;
|
|
||||||
use function plugin\admin\app\controller\json;
|
|
||||||
|
|
||||||
class Crud extends Base
|
class Crud extends Base
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Webman\Admin\plugin\admin\app\controller;
|
namespace plugin\admin\app\controller;
|
||||||
|
|
||||||
use GuzzleHttp\Client;
|
use GuzzleHttp\Client;
|
||||||
use GuzzleHttp\Exception\GuzzleException;
|
use GuzzleHttp\Exception\GuzzleException;
|
||||||
@ -14,13 +14,6 @@ use support\Response;
|
|||||||
use ZIPARCHIVE;
|
use ZIPARCHIVE;
|
||||||
use function array_diff;
|
use function array_diff;
|
||||||
use function ini_get;
|
use function ini_get;
|
||||||
use function plugin\admin\app\controller\base_path;
|
|
||||||
use function plugin\admin\app\controller\config;
|
|
||||||
use function plugin\admin\app\controller\get_realpath;
|
|
||||||
use function plugin\admin\app\controller\is_phar;
|
|
||||||
use function plugin\admin\app\controller\json;
|
|
||||||
use function plugin\admin\app\controller\response;
|
|
||||||
use function plugin\admin\app\controller\session;
|
|
||||||
use function scandir;
|
use function scandir;
|
||||||
use const DIRECTORY_SEPARATOR;
|
use const DIRECTORY_SEPARATOR;
|
||||||
use const PATH_SEPARATOR;
|
use const PATH_SEPARATOR;
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Webman\Admin\plugin\admin\app\controller;
|
namespace plugin\admin\app\controller;
|
||||||
|
|
||||||
use Doctrine\Inflector\InflectorFactory;
|
use Doctrine\Inflector\InflectorFactory;
|
||||||
use Illuminate\Database\Schema\Blueprint;
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
use plugin\admin\app\common\Layui;
|
use plugin\admin\app\common\Layui;
|
||||||
use plugin\admin\app\common\Util;
|
use plugin\admin\app\common\Util;
|
||||||
use plugin\admin\app\controller\Base;
|
|
||||||
use plugin\admin\app\model\Role;
|
use plugin\admin\app\model\Role;
|
||||||
use plugin\admin\app\model\Rule;
|
use plugin\admin\app\model\Rule;
|
||||||
use plugin\admin\app\model\Option;
|
use plugin\admin\app\model\Option;
|
||||||
@ -14,10 +13,6 @@ use support\exception\BusinessException;
|
|||||||
use support\Request;
|
use support\Request;
|
||||||
use support\Response;
|
use support\Response;
|
||||||
use Throwable;
|
use Throwable;
|
||||||
use function plugin\admin\app\controller\base_path;
|
|
||||||
use function plugin\admin\app\controller\config;
|
|
||||||
use function plugin\admin\app\controller\json;
|
|
||||||
use function plugin\admin\app\controller\view;
|
|
||||||
|
|
||||||
class TableController extends Base
|
class TableController extends Base
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user