支持第三方调用
支持沙箱环境调用
公共请求参数
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
app_id | string | 是 | 小程序appid |
access_token | string | 是 | 小程序调用凭证 |
业务请求参数
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
component_id | string | 是 | 组件id |
page_no | int32 | 是 | 页码 |
page_size | int32 | 是 | 每页条数 |
component_attrs_type | string | 是 | 属性type |
请求示例
{ "component_id":"string", "page_no":0, "page_size":0, "component_attrs_type":"string" }
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
data | struct | 否 | |
component_attrs_type | string | 是 | 属性key |
total | int64 | 是 | 总数 |
component_attrs | string | 否 | 组件属性 大的 k-v json string |
success | bool | 否 | 是否成功 |
msg | string | 否 | 说明,正确响应时为 success,错误响应时为错误描述 |
code | int32 | 否 | 错误码,正确响应时为 0,错误响应时非0 |
{ "data":{ "component_attrs_type":"string", "total":0, "component_attrs":"string" }, "success":true, "msg":"string", "code":0 }
参见错误码