This commit is contained in:
2021-07-19 19:04:13 +08:00
parent 5aa94c1a25
commit b369e5c492
21 changed files with 952 additions and 616 deletions
+9 -2
View File
@@ -4,10 +4,17 @@
namespace Server\Task;
use ReflectionException;
use Server\SInterface\TaskExecute;
use Snowflake\Exception\NotFindClassException;
use Snowflake\Snowflake;
use Swoole\Server;
/**
* Class ServerTask
* @package Server\Task
*/
class ServerTask
{
@@ -49,8 +56,8 @@ class ServerTask
/**
* @param $data
* @return null
* @throws \ReflectionException
* @throws \Snowflake\Exception\NotFindClassException
* @throws ReflectionException
* @throws NotFindClassException
*/
private function resolve($data)
{