新Alpha前端页面


新版对象详情关联页

<p><strong>简要描述:</strong> </p> <ul> <li>新版对象详情关联页</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>/api/v2/object_info/</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;">obj_key</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>主键</td> </tr> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>默认为summary摘要页</td> </tr> </tbody> </table> <p>图片页- 提供与对象关联的图片的展示 images 图集页 - 提供与对象具有关联的图片对象的展示(或相似) image_set 音频页 - 提供与对象关联的音频对象的展示(或相似)audios 视频页 - 提供与对象关联的视频对象的展示(或相似)videos 数值页 - 提供与对象关联的所有数值信息的汇总以及比较分析性页面 number 文本信息页 - 提供与对象先关的文字描述或者短文本信息 text_info 一般关联对象页 - 提供所有的一般关联对象的汇总 relation 关联文章页 - 所有与对象具有关联属性的文章或者短文的汇总页 article</p> <p><strong>返回示例</strong></p> <pre><code>{ "msg": "success", "code": 1, "resultObj": { "body": { "data": [ { "fronttype": "object", "objects": [ { "c_name": "食材", "_video": [], "tags": [], "_audio": [], "_img": [ " https://i3.meishichina.com/g " ], "obj_name": "盐", "aka": "", "_info": "", "name": "c235_yChQvdJD" }, ], "endPos": 50, "cname": "食材", "structure_query": "[c175_y3exgySJ](食材)", "startPos": 0, "total": 6 } ], "relation_stat": { "message": "", "total": 1, "relation_stat": [ { "text": "食材(6)个", "feaction": "relation" } ], "feaction": "object", "title": "对象的关联数量的汇总信息" } }, "head": { "current_page": "relation", "fronttype": "object", "object_data": { "info": "苹果假数据 我是假数据", "name": "c175_y3exgySJ", "img": [ "https://i8.meishichina.com/attachment/recipe/", ], "obj_name": "苹果假数据", "aka": "", "c_name": "菜谱" }, "tags": [ { "concept": "菜系", "name": "热菜", "key": "c239_nq5M4dM9" }, { "concept": "菜系", "name": "午餐", "key": "c239_nnYAbdM9" }, { "concept": "菜系", "name": "老人", "key": "c239_nm2pidM9" }, { "concept": "菜系", "name": "家常菜", "key": "c239_ngXAZIM9" } ] }, "page_structure": [ { "name": "summary", "title": "摘要" }, { "name": "numbers", "title": "数值页" }, { "name": "relation", "title": "关联对象页" } ] } }</code></pre> <p>问题:关联页中每个概念对应的对象数据</p> <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;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML