modify plugin name

This commit is contained in:
2022-02-23 16:32:08 +08:00
parent fa66eef192
commit 99c824c467
37 changed files with 317 additions and 937 deletions
+1 -10
View File
@@ -145,7 +145,7 @@ class Kiri
*/
public static function getAnnotation(): Annotation
{
return static::app()->getAnnotation();
return static::getDi()->get(Annotation::class);
}
@@ -311,15 +311,6 @@ class Kiri
}
/**
* @return mixed
* @throws Exception
*/
public static function reload(): mixed
{
return Kiri::app()->getSwoole()->reload();
}
const PROCESS = 'process';
const TASK = 'task';