mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-22 08:05:34 +08:00
🚀 更新框架中Cache使用的参数
🚀 更新README.md
This commit is contained in:
@@ -87,7 +87,7 @@ class RobotWSConnection extends WSConnection
|
||||
StatusParser::parse($response, $data);
|
||||
if ($s["func"] !== null)
|
||||
call_user_func($s["func"], $response, $data);
|
||||
Cache::unset("sent_api", $data["echo"]);
|
||||
Cache::removeKey("sent_api", $data["echo"]);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -120,7 +120,7 @@ class RobotWSConnection extends WSConnection
|
||||
StatusParser::parse($response, $data);
|
||||
if ($s["func"] !== null)
|
||||
call_user_func($s["func"], $response, $data);
|
||||
Cache::unset("sent_api", $data["echo"]);
|
||||
Cache::removeKey("sent_api", $data["echo"]);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user