新Alpha前端页面


对象移动(移动端使用)

<p><strong>简要描述:</strong> </p> <ul> <li>对象移动接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>api/v3/xadmin/object/move_for_user/</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;">target_concept</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>目标概念名</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>成功 { "status": 1, "message": "success", "resultObj": { "new_concept": "人物", "new_pk": "c218_nndL4yBV" } }</code></pre> <pre><code>失败 { "msg": "登陆已失效,请重新登陆", "code": 999, "resultObj": [] }</code></pre> <pre><code>{ "status": 2, "message": { "obj_key": [ "这个字段是必填项。" ], "target_concept": [ "这个字段是必填项。" ] }, "resultObj": "" }</code></pre> <pre><code>{ "status": 3, "message": "该概念暂时不允许移动对象", "resultObj": "" }</code></pre> <pre><code>{ "status": 4, "message": "移动对象失败,因为 人物 和 竞争 不是一个类型的概念", "resultObj": "" }</code></pre> <pre><code>{ "status": 5, "message": "对象权重大于8000,移动对象失败", "resultObj": "" }</code></pre> <pre><code>{ "status": 6, "message": "由于未知原因导致移动对象失败", "resultObj": "" }</code></pre>

页面列表

ITEM_HTML