This commit is contained in:
as2252258@163.com
2021-08-11 01:04:57 +08:00
parent 63d8eaa4a5
commit 682246df28
219 changed files with 790 additions and 791 deletions
+3 -3
View File
@@ -6,8 +6,8 @@ namespace Server\Task;
use ReflectionException;
use Server\SInterface\TaskExecute;
use Snowflake\Exception\NotFindClassException;
use Snowflake\Snowflake;
use Kiri\Exception\NotFindClassException;
use Kiri\Kiri;
use Swoole\Server;
@@ -63,7 +63,7 @@ class OnServerTask
{
[$class, $params] = json_encode($data, true);
$reflect = Snowflake::getDi()->getReflect($class);
$reflect = Kiri::getDi()->getReflect($class);
if (!$reflect->isInstantiable()) {
return null;