mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
完善
This commit is contained in:
@@ -733,4 +733,12 @@ abstract class Model implements \JsonSerializable, \ArrayAccess
|
||||
return call_user_func_array([self::db(), $method], $params);
|
||||
}
|
||||
|
||||
/**
|
||||
* 解序列化后处理
|
||||
*/
|
||||
public function __wakeup()
|
||||
{
|
||||
$this->initialize();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user