mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-02 19:58:22 +08:00
Fixed doc. (#2293)
This commit is contained in:
parent
d98084b696
commit
95c657bc42
@ -422,7 +422,7 @@ use Hyperf\Process\Annotation\Process;
|
||||
/**
|
||||
* @Process()
|
||||
*/
|
||||
class ConsumerProcess extends ConsumerProcess
|
||||
class OtherConsumerProcess extends ConsumerProcess
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user