(对外)橙医第三方对接

橙医健康第三放系统对接


通用说明

<ol> <li> <p>域名 测试环境:<a href="https://test-apis.feecee.cn/">https://test-apis.feecee.cn/</a> 正式环境:<a href="https://apis.feecee.cn/">https://apis.feecee.cn/</a></p> </li> <li> <p>请求格式 请求参数channel 和 token, 其中 token 是实际请求数据 json 序列化后加密([加解密说明](<a href="https://www.showdoc.com.cn/chengyiChannel/11155645264355308">https://www.showdoc.com.cn/chengyiChannel/11155645264355308</a> &quot;加解密说明&quot;))。</p> <p>如果是 POST、PUT、PATCH 请求, 则需要把 channel、token 放到http body里,json序列化提交。</p> <pre><code>{ &amp;quot;channel&amp;quot;:&amp;quot;&amp;quot;, &amp;quot;token&amp;quot;:&amp;quot;&amp;quot; }</code></pre> <p>如果是 GET、DELETE 请求, 则需要把 channel、token放到 url 参数重, <code>xxxx?channel=xxx&amp;amp;token=xxx</code></p> </li> <li> <table> <thead> <tr> <th>返回数据说明 返回数据为 json 格式</th> <th>字段</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>int</td> <td>错误码,0 为正常,错误码详见下面错误码说明</td> </tr> <tr> <td>msg</td> <td>string</td> <td>错误说明</td> </tr> <tr> <td>data</td> <td>object</td> <td>业务数据</td> </tr> </tbody> </table> </li> </ol> <pre><code class="language-json">{ &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;data&amp;quot;: {} }</code></pre> <ol> <li>错误码说明</li> </ol> <table> <thead> <tr> <th>错误码</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>0</td> <td>正常</td> </tr> <tr> <td>8</td> <td>非法访问</td> </tr> <tr> <td>7</td> <td>业务失败</td> </tr> </tbody> </table>

页面列表

ITEM_HTML