获取网站参数配置
方法概览
| 项目 | 内容 |
|---|---|
| 文档类型 | PHP 类方法 |
| 方法标识 | app\common\model\ConfigurationModel::webList |
| 所属业务 | 公共接口 |
| 来源模块/系统 | 用户模型 |
功能说明
获取网站参数配置
调用示例
$result = (new \app\common\model\ConfigurationModel())->webList();参数
该函数/方法无需传入参数。
返回值
| 返回项 | 类型 | 说明 |
|---|---|---|
enterprise_name | string | 企业名称 |
enterprise_telephone | string | 企业电话 |
enterprise_mailbox | string | 企业邮箱 |
enterprise_qrcode | string | 企业二维码 |
online_customer_service_link | string | 在线客服链接 |
icp_info | string | ICP信息 |
icp_info_link | string | ICP信息信息链接 |
public_security_network_preparation | string | 公安网备 |
public_security_network_preparation_link | string | 公安网备链接 |
telecom_appreciation | string | 电信增值 |
copyright_info | string | 版权信息 |
official_website_logo | string | 官网LOGO |
www_url | string | 官网地址 |
正常返回
{
"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",
"www_url": "https://example.com/callback"
}异常情况
| 异常类型 | 说明 |
|---|---|
Throwable | 调用失败时由具体实现抛出异常,异常信息以运行时结果为准。 |