大平台——App客户端接口

App接口


团购首页

<p><strong>简要描述:</strong> </p> <ul> <li>首页模块配置</li> </ul> <p><strong>作者:</strong> </p> <ul> <li>沈聪</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>/xtwl_read_interface/cmd</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">custId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>客户id</td> </tr> </tbody> </table> <p><strong>请求示例</strong></p> <pre><code>{ "modular": "home", "param": { "authKey": "0", "dtype": "1", "secretKey": "49C368B946B004DAEC6A5C944EA93BA5", "timeStamp": "1506588688079", "userKey": "1234567890", "custId": "1", "uuid": "6703b053-3530-474a-ab19-c006a3999f32" }, "requestname": "queryGroupBuyHomeApp", "version": "1.0" }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">custId</td> <td style="text-align: left;">String</td> <td>客户ID</td> </tr> <tr> <td style="text-align: left;">workspaceType</td> <td style="text-align: left;">String</td> <td>工作区类别:3模块导航,4模块专题,6品质优选</td> </tr> <tr> <td style="text-align: left;">contentType</td> <td style="text-align: left;">String</td> <td>1广告,2模块导航,3专题①,4专题②,5专题③,6专题③+显示标题,7底部栏,8品质优选,9功能导航,10商城模块,11底部文字配置,12拼团砍价推荐,13拼团砍价精选,50商家APP广告图,51商家PC广告图(2.0)</td> </tr> <tr> <td style="text-align: left;">numberOfRows</td> <td style="text-align: left;">String</td> <td>行数</td> </tr> <tr> <td style="text-align: left;">contentSort</td> <td style="text-align: left;">String</td> <td>在某一行的排序</td> </tr> <tr> <td style="text-align: left;">title</td> <td style="text-align: left;">String</td> <td>标题</td> </tr> <tr> <td style="text-align: left;">picture</td> <td style="text-align: left;">String</td> <td>图片地址</td> </tr> <tr> <td style="text-align: left;">linkType</td> <td style="text-align: left;">String</td> <td>1wap页,2外链,3外卖商家,4外卖分类,5团购商家,6团购分类,7同城跑腿,8新人大礼包,9拼团商家,10拼团分类,11拼团商品,12砍价商家,13砍价分类,14砍价商品,15外卖区域专区,16同城砍价商品,17同城砍价首页,18幸福优选首页(3.0)</td> </tr> <tr> <td style="text-align: left;">linkContent</td> <td style="text-align: left;">String</td> <td>链接地址、商家或分类名称</td> </tr> <tr> <td style="text-align: left;">linkId</td> <td style="text-align: left;">String</td> <td>商家或分类id</td> </tr> <tr> <td style="text-align: left;">info</td> <td style="text-align: left;">String</td> <td>搜索框热词</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "result": { "count": 0, "list": [ { "linelist": [{"columnlist": [ { "contentType": "2", "numberOfRows": "1", "contentSort": "1", "title": "团购模块导航1", "picture": "https://img.ejiangyin.net/5e29ba3a933a639beab70f8d99b8c83a", "linkType": "3", "linkContent": "", "linkId": "5BA611CD9BEF2DB0E053C208A8C0A94E" }, { "contentType": "2", "numberOfRows": "1", "contentSort": "2", "title": "团购模块导航2", "picture": "https://img.ejiangyin.net/5e29ba3a933a639beab70f8d99b8c83a", "linkType": "", "linkContent": "", "linkId": "" }, { "contentType": "2", "numberOfRows": "1", "contentSort": "3", "title": "团购模块导航3", "picture": "https://img.ejiangyin.net/803f008dfaa23a08b5f5bbdb8cd80ad9", "linkType": "", "linkContent": "", "linkId": "" }, { "contentType": "2", "numberOfRows": "1", "contentSort": "4", "title": "团购模块导航4", "picture": "https://img.ejiangyin.net/5e29ba3a933a639beab70f8d99b8c83a", "linkType": "", "linkContent": "", "linkId": "" }, { "contentType": "2", "numberOfRows": "1", "contentSort": "5", "title": "团购模块导航5", "picture": "https://img.ejiangyin.net/803f008dfaa23a08b5f5bbdb8cd80ad9", "linkType": "", "linkContent": "", "linkId": "" }, { "contentType": "2", "numberOfRows": "1", "contentSort": "6", "title": "团购模块导航6", "picture": "https://img.ejiangyin.net/5e29ba3a933a639beab70f8d99b8c83a", "linkType": "", "linkContent": "", "linkId": "" }, { "contentType": "2", "numberOfRows": "1", "contentSort": "7", "title": "团购模块导航7", "picture": "https://img.ejiangyin.net/5e29ba3a933a639beab70f8d99b8c83a", "linkType": "", "linkContent": "", "linkId": "" }, { "contentType": "2", "numberOfRows": "1", "contentSort": "8", "title": "团购模块导航8", "picture": "https://img.ejiangyin.net/5e29ba3a933a639beab70f8d99b8c83a", "linkType": "", "linkContent": "", "linkId": "" }, { "contentType": "2", "numberOfRows": "1", "contentSort": "9", "title": "团购模块导航9", "picture": "https://img.ejiangyin.net/5e29ba3a933a639beab70f8d99b8c83a", "linkType": "", "linkContent": "", "linkId": "" } ]}], "count": 1, "info": { "custId": "1", "workspaceType": "3" } }, { "linelist": [ {"columnlist": [ { "contentType": "3", "numberOfRows": "1", "contentSort": "1", "title": "团购模块专题1", "picture": "https://img.ejiangyin.net/45627f9192b451fdca7a49f44587ee4e", "linkType": "", "linkContent": "", "linkId": "" }]}, {"columnlist": [ { "contentType": "4", "numberOfRows": "2", "contentSort": "1", "title": "团购模块专题2", "picture": "https://img.ejiangyin.net/5e29ba3a933a639beab70f8d99b8c83a", "linkType": "", "linkContent": "", "linkId": "" }, { "contentType": "4", "numberOfRows": "2", "contentSort": "2", "title": "团购模块专题3", "picture": "https://img.ejiangyin.net/a02c8d517f24f407a5ce03890d5d4840", "linkType": "", "linkContent": "", "linkId": "" } ]}, {"columnlist": [ { "contentType": "5", "numberOfRows": "3", "contentSort": "1", "title": "团购模块专题4", "picture": "https://img.ejiangyin.net/aeebbad007f4f49b0d649daf39c15ad9", "linkType": "", "linkContent": "", "linkId": "" }, { "contentType": "5", "numberOfRows": "3", "contentSort": "2", "title": "团购模块专题5", "picture": "https://img.ejiangyin.net/a02c8d517f24f407a5ce03890d5d4840", "linkType": "", "linkContent": "", "linkId": "" }, { "contentType": "5", "numberOfRows": "3", "contentSort": "3", "title": "团购模块专题6", "picture": "https://img.ejiangyin.net/c3d17627cbb28adf2cd9a0458a2a4c39", "linkType": "", "linkContent": "", "linkId": "" } ]} ], "count": 3, "info": { "custId": "1", "workspaceType": "4" } }, { "linelist": [{"columnlist": [ { "contentType": "8", "numberOfRows": "1", "contentSort": "1", "title": "品质优选1", "picture": "https://img.ejiangyin.net/5e29ba3a933a639beab70f8d99b8c83a", "linkType": "", "linkContent": "", "linkId": "" }, { "contentType": "8", "numberOfRows": "1", "contentSort": "2", "title": "品质优选2", "picture": "https://img.ejiangyin.net/803f008dfaa23a08b5f5bbdb8cd80ad9", "linkType": "", "linkContent": "", "linkId": "" }, { "contentType": "8", "numberOfRows": "1", "contentSort": "3", "title": "品质优选3", "picture": "https://img.ejiangyin.net/5e29ba3a933a639beab70f8d99b8c83a", "linkType": "", "linkContent": "", "linkId": "" }, { "contentType": "8", "numberOfRows": "1", "contentSort": "4", "title": "品质优选4", "picture": "https://img.ejiangyin.net/803f008dfaa23a08b5f5bbdb8cd80ad9", "linkType": "", "linkContent": "", "linkId": "" } ]}], "count": 1, "info": { "custId": "1", "workspaceType": "6" } } ], "info": "搜索团购商家" }, "resultcode": "0", "resultdesc": "success" }</code></pre> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML