-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
更新框架为最新thinkPHP版本,插件工具composer化,完善日志链路追踪 (#84)
* [feat]常用组件改用composer引入 * [fix]修复节点读取失败问题 * [feat]update thinkphp framework version * [delete]删除多余文件 * [feat]完善idea识别 * [feat]完善注释,修改日志数据格式为json * [feat]完善链路日志信息记录
- Loading branch information
1 parent
2786da8
commit 424a0e6
Showing
252 changed files
with
13,358 additions
and
7,559 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
|
||
// +---------------------------------------------------------------------- | ||
// | EasyAdmin | ||
// +---------------------------------------------------------------------- | ||
// | PHP交流群: 763822524 | ||
// +---------------------------------------------------------------------- | ||
// | 开源协议 https://mit-license.org | ||
// +---------------------------------------------------------------------- | ||
// | github开源项目:https://github.com/zhongshaofa/EasyAdmin | ||
// +---------------------------------------------------------------------- | ||
|
||
namespace app\admin\service; | ||
|
||
|
||
use EasyAdmin\auth\Node; | ||
|
||
class NodeService | ||
{ | ||
|
||
/** | ||
* 获取节点服务 | ||
* @return array | ||
* @throws \Doctrine\Common\Annotations\AnnotationException | ||
* @throws \ReflectionException | ||
*/ | ||
public function getNodelist() | ||
{ | ||
$basePath = base_path() . 'admin' . DIRECTORY_SEPARATOR . 'controller'; | ||
$baseNamespace = "app\admin\controller"; | ||
|
||
$nodeList = (new Node($basePath, $baseNamespace)) | ||
->getNodelist(); | ||
|
||
return $nodeList; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
declare (strict_types=1); | ||
|
||
return [ | ||
0 => 'think\\captcha\\CaptchaService', | ||
1 => 'think\\app\\Service', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.