
# 参数类型，数组

---


<table>
    <tr>
        <th>接口名</th>
        <td>param.type.8</td>
        <th>版本号</th>
        <td></td>
    </tr>
</table>

**请求参数**

<table>
    <tr>
        <th>名称</th>
        <th>类型</th>
        <th>是否必须</th>
        <th>最大长度</th>
        <th>示例值</th>
        <th>描述</th>
    </tr>
        <tr><td>id</td><td class="param-type">integer</td><td><strong>是</strong></td><td>11</td><td>11</td><td>id</td></tr>
        <tr><td>list</td><td class="param-type">array</td><td><strong>是</strong></td><td></td><td><table parentname="list"><tr><th>名称</th><th>类型</th><th>是否必须</th><th>最大长度</th><th>示例值</th><th>描述</th></tr><tr><td>goodsPrice</td><td class="param-type">double</td><td>否</td><td></td><td></td><td>商品价格</td></tr><tr><td>goods_name</td><td class="param-type">string</td><td><strong>是</strong></td><td>64</td><td>iphoneX</td><td>商品名称</td></tr></table></td><td>商品数组</td></tr>
    </table>

**参数示例**

```json
{
	"id":"11",
	"list":[
		{
			"goods_name":"iphoneX",
			"goodsPrice":""
		}
	]
}
```

**返回结果**

<table>
    <tr>
        <th>名称</th>
        <th>类型</th>
        <th>描述</th>
    </tr>
    <tr>
        <td>code</td>
        <td>string</td>
        <td>状态值，"0"表示成功，其它都是失败</td>
    </tr>
    <tr>
        <td>msg</td>
        <td>string</td>
        <td>错误信息，出错时显示</td>
    </tr>
        <tr>
        <td>data</td>
        <td>object</td>
        <td>返回的数据，没有则返回{}
            <table>
                <tr>
                    <th>名称</th>
                    <th>类型</th>
                    <th>最大长度</th>
                    <th>示例值</th>
                    <th>描述</th>
                </tr>
                            </table>
        </td>
    </tr>
    </table>

**返回示例**

```json
{
	"code":"0",
	"data":{},
	"msg":""
}
```


