智简魔方文档

获取通知类型名称

方法概览

项目内容
文档类型PHP 类方法
方法标识app\common\model\ProductNoticeGroupModel::getNoticeTypeName
所属业务消息通知
来源模块/系统商品通知组模型

功能说明

获取通知类型名称

调用示例

$type = 'string';
$result = (new \app\common\model\ProductNoticeGroupModel())->getNoticeTypeName($type);

参数

参数类型必填默认值校验规则说明
typemixedrequired由 PHP 方法签名补全

返回值

返回项类型说明
typestring通知类型标识 require
返回值string

正常返回

{
  "type": "string"
}

异常情况

异常类型说明
Throwable调用失败时由具体实现抛出异常,异常信息以运行时结果为准。