ICP办理数据
方法概览
| 项目 | 内容 |
|---|---|
| 文档类型 | PHP 类方法 |
| 方法标识 | app\common\model\IcpServiceProductModel::webData |
| 所属业务 | 公共接口 |
| 来源模块/系统 | 模板控制器 |
功能说明
ICP办理数据
调用示例
$result = (new \app\common\model\IcpServiceProductModel())->webData();参数
该函数/方法无需传入参数。
返回值
| 返回项 | 类型 | 说明 |
|---|---|---|
list | array | 商品 |
list[].id | int | 商品ID |
list[].title | string | 标题 |
list[].description | string | 描述 |
list[].price | string | 价格 |
list[].product_id | int | 关联商品ID |
icp_product_id | int | 购买/咨询商品ID |
正常返回
{
"list": [
{
"id": 1,
"title": "示例名称",
"description": "192.0.2.1",
"price": "string",
"product_id": 1
}
],
"icp_product_id": 1
}异常情况
| 异常类型 | 说明 |
|---|---|
Throwable | 调用失败时由具体实现抛出异常,异常信息以运行时结果为准。 |