Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-micro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
without authentication
meibuyu-micro
Commits
1ae6023a
Commit
1ae6023a
authored
Feb 12, 2022
by
Liu lu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
兼容hyperf框架1.1版本 注解写法
parent
3d40e086
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
AsyncCoroutine.php
src/Annotation/AsyncCoroutine.php
+1
-1
LogTrace.php
src/Annotation/LogTrace.php
+1
-1
AsyncCoroutineAspect.php
src/Aspect/AsyncCoroutineAspect.php
+5
-5
LogTraceAspect.php
src/Aspect/LogTraceAspect.php
+5
-5
No files found.
src/Annotation/AsyncCoroutine.php
View file @
1ae6023a
...
...
@@ -10,7 +10,7 @@ use Hyperf\Di\Annotation\AbstractAnnotation;
/**
* @Annotation
* @Target(
"METHOD"
)
* @Target(
{"METHOD"}
)
*/
class
AsyncCoroutine
extends
AbstractAnnotation
{
...
...
src/Annotation/LogTrace.php
View file @
1ae6023a
...
...
@@ -9,7 +9,7 @@ use Hyperf\Di\Annotation\AbstractAnnotation;
/**
* @Annotation
* @Target(
"METHOD"
)
* @Target(
{"METHOD"}
)
*/
class
LogTrace
extends
AbstractAnnotation
{
...
...
src/Aspect/AsyncCoroutineAspect.php
View file @
1ae6023a
...
...
@@ -9,15 +9,15 @@ use Meibuyu\Micro\Annotation\AsyncCoroutine;
use
Hyperf\Utils\Coroutine
;
/**
* @Aspect(
* annotations={
* AsyncCoroutine::class
* }
* )
* @Aspect()
*/
class
AsyncCoroutineAspect
extends
AbstractAspect
{
public
$annotations
=
[
AsyncCoroutine
::
class
];
/**
* 优先级
* @var int
...
...
src/Aspect/LogTraceAspect.php
View file @
1ae6023a
...
...
@@ -8,15 +8,15 @@ use Meibuyu\Micro\Annotation\LogTrace;
use
Meibuyu\Micro\Handler\LogTrace\LogTraceHandler
;
/**
* @Aspect(
* annotations={
* LogTrace::class
* }
* )
* @Aspect()
*/
class
LogTraceAspect
extends
AbstractAspect
{
public
$annotations
=
[
LogTrace
::
class
];
/**
* 优先级
* @var int
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment