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
+2 -2
View File
@@ -6,7 +6,7 @@ namespace Rpc;
use Annotation\Inject;
use Exception;
use Snowflake\Snowflake;
use Kiri\Kiri;
/**
* Class Consumer
@@ -46,7 +46,7 @@ abstract class Consumer implements IProducer
if (method_exists($this, $method)) {
return $this->{$method}();
}
return Snowflake::app()->get($name);
return Kiri::app()->get($name);
}