保存信息配置
方法概览
| 项目 | 内容 |
|---|---|
| 文档类型 | PHP 类方法 |
| 方法标识 | app\common\model\ConfigurationModel::infoUpdate |
| 所属业务 | 公共接口 |
| 来源模块/系统 | 用户模型 |
功能说明
保存信息配置
调用示例
$enterprise_name = '示例名称';
$enterprise_telephone = '13800138000';
$enterprise_mailbox = 'string';
$enterprise_qrcode = 'string';
$online_customer_service_link = 'string';
$icp_info = 'string';
$icp_info_link = 'string';
$public_security_network_preparation = 'string';
$public_security_network_preparation_link = 'string';
$telecom_appreciation = 'string';
$copyright_info = 'string';
$official_website_logo = 'string';
$cloud_product_link = 'string';
$dcim_product_link = 'string';
$result = (new \app\common\model\ConfigurationModel())->infoUpdate($enterprise_name, $enterprise_telephone, $enterprise_mailbox, $enterprise_qrcode, $online_customer_service_link, $icp_info, $icp_info_link, $public_security_network_preparation, $public_security_network_preparation_link, $telecom_appreciation, $copyright_info, $official_website_logo, $cloud_product_link, $dcim_product_link);参数
| 参数 | 类型 | 必填 | 默认值 | 校验规则 | 说明 |
|---|---|---|---|---|---|
enterprise_name | string | 是 | — | required | 企业名称 |
enterprise_telephone | string | 是 | — | required | 企业电话 |
enterprise_mailbox | string | 是 | — | required | 企业邮箱 |
enterprise_qrcode | string | 是 | — | required | 企业二维码 |
online_customer_service_link | string | 是 | — | required | 在线客服链接 |
icp_info | string | 是 | — | required | ICP信息 |
icp_info_link | string | 是 | — | required | ICP信息信息链接 |
public_security_network_preparation | string | 是 | — | required | 公安网备 |
public_security_network_preparation_link | string | 是 | — | required | 公安网备链接 |
telecom_appreciation | string | 是 | — | required | 电信增值 |
copyright_info | string | 是 | — | required | 版权信息 |
official_website_logo | string | 是 | — | required | 官网LOGO |
cloud_product_link | string | 是 | — | required | 云产品跳转链接 |
dcim_product_link | string | 是 | — | required | DCIM产品跳转链接 |
返回值
未声明固定返回值。
正常返回
{}异常情况
| 异常类型 | 说明 |
|---|---|
Throwable | 调用失败时由具体实现抛出异常,异常信息以运行时结果为准。 |