进入宽限期
方法概览
| 项目 | 内容 |
|---|---|
| 文档类型 | PHP 类方法 |
| 方法标识 | app\common\model\HostModel::enterGracePeriod |
| 所属业务 | 产品管理 |
| 来源模块/系统 | 产品模型 |
功能说明
进入宽限期
调用示例
$param = [['host' => 'string', 'time' => 1752984000]];
$result = (new \app\common\model\HostModel())->enterGracePeriod($param);参数
| 参数 | 类型 | 必填 | 默认值 | 校验规则 | 说明 |
|---|---|---|---|---|---|
param | array | 是 | — | require | 参数 |
param.host | HostModel | 是 | — | require | 产品模型实例 |
param.time | int | 是 | — | require | 当前时间 |
返回值
未声明固定返回值。
正常返回
{}异常情况
| 异常类型 | 说明 |
|---|---|
Throwable | 调用失败时由具体实现抛出异常,异常信息以运行时结果为准。 |