Fixed doc. (#2293)

This commit is contained in:
李铭昕 2020-08-13 19:37:41 +08:00 committed by GitHub
parent d98084b696
commit 95c657bc42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -422,7 +422,7 @@ use Hyperf\Process\Annotation\Process;
/**
* @Process()
*/
class ConsumerProcess extends ConsumerProcess
class OtherConsumerProcess extends ConsumerProcess
{
/**
* @var string

View File

@ -118,7 +118,7 @@ use Hyperf\Cache\Annotation\Cacheable;
class DemoService
{
/**
* @Cacheable(prefix="cache", value="_#{id}", listener="DemoServiceDelete")
* @Cacheable(prefix="cache", value="_#{id}", listener="user-update")
*/
public function getCache(int $id)
{