动动幺API文档

动动幺文档


判断是否需要新的CID

<p>判断是否需要新的CID</p> <h5>简要描述</h5> <ul> <li>接收手机短信验证码前要对接的,会返回新的CID以及它是走接口还是SDK</li> </ul> <h5>请求URL</h5> <ul> <li><code>/server/mobile</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <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;">cid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>落地页的id</td> </tr> <tr> <td style="text-align: left;">mobile</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>手机号</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{     &amp;quot;code&amp;quot;: 1,     &amp;quot;msg&amp;quot;: &amp;quot;ok&amp;quot;,     &amp;quot;data&amp;quot;: {         &amp;quot;new_cid&amp;quot;: &amp;quot;933&amp;quot;,         &amp;quot;is_model&amp;quot;: &amp;quot;1&amp;quot;,         &amp;quot;json&amp;quot;: {             &amp;quot;confirm&amp;quot;: {                 &amp;quot;closePosition&amp;quot;: &amp;quot;rightTop&amp;quot;,                 &amp;quot;pic1&amp;quot;: &amp;quot;/clientimages/027a1ec52f8fa1f3d660b9c388c94e96&amp;quot;,                 &amp;quot;pic2&amp;quot;: &amp;quot;/clientimages/b47b1c1ca511262e0e1aa0d93d8eeb7c&amp;quot;,                 &amp;quot;btn&amp;quot;: &amp;quot;/clientimages/01b9aa1c8eac53c529223b0c3801de5d&amp;quot;,                 &amp;quot;close&amp;quot;: &amp;quot;/clientimages/f4e1729771f2f1f5f64e3304e7c62f26&amp;quot;,                 &amp;quot;showMobile&amp;quot;: 0,                 &amp;quot;rightCloseBtn&amp;quot;: &amp;quot;/clientimages/f4e1729771f2f1f5f64e3304e7c62f26&amp;quot;             },             &amp;quot;success&amp;quot;: [],             &amp;quot;prize&amp;quot;: [],             &amp;quot;fail&amp;quot;: [],             &amp;quot;push&amp;quot;: [],             &amp;quot;retain&amp;quot;: [],             &amp;quot;forbid&amp;quot;: [],             &amp;quot;agreement&amp;quot;: [],             &amp;quot;twoColumn&amp;quot;: [],             &amp;quot;crack&amp;quot;: [],             &amp;quot;host&amp;quot;: &amp;quot;//yd.sc-001.net&amp;quot;,             &amp;quot;title&amp;quot;: &amp;quot;贵州5G特惠基础流量包(30元5G)&amp;quot;,             &amp;quot;appId&amp;quot;: null,             &amp;quot;template&amp;quot;: &amp;quot;stp&amp;quot;,             &amp;quot;sms&amp;quot;: &amp;quot;form&amp;quot;,             &amp;quot;fileName&amp;quot;: &amp;quot;gzdayuyi1&amp;quot;,             &amp;quot;top&amp;quot;: &amp;quot;/clientimages/92a8b3fcde44d7b70485656e15c368ff&amp;quot;,             &amp;quot;inputBG&amp;quot;: &amp;quot;/clientimages/37f8658a7caf4d58d0c83cb725f62ad5&amp;quot;,             &amp;quot;operator&amp;quot;: &amp;quot;贵州移动&amp;quot;,             &amp;quot;formBtn&amp;quot;: &amp;quot;/clientimages/4ca1a7f4478a3992eedc4d7a61a87cf9&amp;quot;,             &amp;quot;bottom&amp;quot;: &amp;quot;/clientimages/e827bf9fdb3e90c3f26c23069ead53cc,/clientimages/4647ff12b09abed55b60fde7d3854a8a&amp;quot;,             &amp;quot;quick&amp;quot;: 1,             &amp;quot;noNeedSms&amp;quot;: &amp;quot;&amp;quot;,             &amp;quot;temp_id&amp;quot;: &amp;quot;16&amp;quot;         },         &amp;quot;params&amp;quot;: {             &amp;quot;apiUser&amp;quot;: &amp;quot;100277&amp;quot;,             &amp;quot;apiKey&amp;quot;: &amp;quot;9f6dd464d15d40e294e160f37c75e65e&amp;quot;         }     } }</code></pre> <h5>返回参数说明</h5> <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;">code</td> <td style="text-align: left;">int</td> <td>查询结果,1:查询成功</td> </tr> <tr> <td style="text-align: left;">msg</td> <td style="text-align: left;">string</td> <td></td> </tr> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">array</td> <td>数组</td> </tr> <tr> <td style="text-align: left;">new_cid</td> <td style="text-align: left;">string</td> <td>新的cid&lt;br&gt;如果有需要进行业务上处理。如果没有则不用处理。如果这个字段不存在,则下面的所有字段都不存在</td> </tr> <tr> <td style="text-align: left;">is_model</td> <td style="text-align: left;">string</td> <td>模式 1:走接口 2:走SDK&lt;br&gt;如果有需要进行业务上处理。如果没有则不用处理</td> </tr> <tr> <td style="text-align: left;">json</td> <td style="text-align: left;">array</td> <td>落地页的页面效果</td> </tr> <tr> <td style="text-align: left;">params</td> <td style="text-align: left;">array</td> <td>接口文档需要提交的参数,<a href="https://m.cdddy.cn/userDoc/index.html">https://m.cdddy.cn/userDoc/index.html</a></td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML