获取通知分类
方法概览
| 项目 | 内容 |
|---|---|
| 文档类型 | PHP 类方法 |
| 方法标识 | app\common\model\NoticeSettingModel::getNoticeSettingType |
| 所属业务 | 消息通知 |
| 来源模块/系统 | 通知发送管理 |
功能说明
获取通知分类
调用示例
$result = (new \app\common\model\NoticeSettingModel())->getNoticeSettingType();参数
该函数/方法无需传入参数。
返回值
| 返回项 | 类型 | 说明 |
|---|---|---|
type | string | 通知类型标识 require |
返回值 | string | — |
正常返回
{
"type": "string"
}异常情况
| 异常类型 | 说明 |
|---|---|
Throwable | 调用失败时由具体实现抛出异常,异常信息以运行时结果为准。 |