This commit is contained in:
as2252258@163.com
2021-04-04 17:45:52 +08:00
parent 1391c36687
commit 00c72d3f1b
+2
View File
@@ -322,6 +322,8 @@ class ActiveRecord extends BaseActiveRecord
*/
public function recover()
{
$this->clean();
/** @var Channel $channel */
$channel = Snowflake::app()->get('channel');
return $channel->push($this, get_called_class());