安众图接口文档

安众图接口文档


湖南移动JS对接文档

<p>@font-face{ font-family:&quot;Times New Roman&quot;; } @font-face{ font-family:&quot;宋体&quot;; } p.MsoNormal{ mso-style-name:正文; mso-style-parent:&quot;&quot;; margin:0pt; margin-bottom:.0001pt; mso-pagination:none; text-align:justify; text-justify:inter-ideograph; font-family:'Times New Roman'; mso-fareast-font-family:宋体; font-size:10.5000pt; mso-font-kerning:1.0000pt; } span.msoIns{ mso-style-type:export-only; mso-style-name:&quot;&quot;; text-decoration:underline; text-underline:single; color:blue; } span.msoDel{ mso-style-type:export-only; mso-style-name:&quot;&quot;; text-decoration:line-through; color:red; } @page{mso-page-border-surround-header:no; mso-page-border-surround-footer:no;}@page Section0{ margin-top:72.0000pt; margin-bottom:72.0000pt; margin-left:90.0000pt; margin-right:90.0000pt; size:595.3000pt 841.9000pt; layout-grid:15.6000pt; mso-header-margin:42.5500pt; mso-footer-margin:49.6000pt; } div.Section0{page:Section0;}</p> <p>1、head标签中添加内容</p> <p>&lt;meta id=&quot;v.channel&quot; content=&quot;LSY&quot;&gt;</p> <p>&lt;meta id=&quot;v.bizHandlerPage&quot; content=&quot;true&quot;&gt;</p> <p>&lt;script type=&quot;text/javascript&quot; src=&quot;<a href="https://client-image.oss-cn-hangzhou.aliyuncs.com/apps/fxjs/hnyd-fxs.js&quot;&gt;&lt;/script&gt">https://client-image.oss-cn-hangzhou.aliyuncs.com/apps/fxjs/hnyd-fxs.js&quot;&gt;&lt;/script&gt</a>;</p> <p>2、初始化接口,在页面加载完成后调用初始化方法:</p> <p>AZTFun.init(‘cid’,function (res){</p> <p>console.log(JSON.stringify(res))//res.code == 1 初始化成功 res.code == 0 初始化失败</p> <p>})</p> <p>3、获取验证码</p> <p>AZTFun.smsCode(phone,function (res){//phone湖南移动手机号</p> <p>//res.code == 1 &amp;&amp; res.data.code == 1 获取验证码成功</p> <p>//0发送验证码失败 -1您已经办过本业务了  -2系统开小差了,暂时无法办理 黑名单 //-3号码归属地在限定可办理区域之外</p> <p>console.log(JSON.stringify(res))</p> <p>})</p> <p>4、提交办理</p> <p>AZTFun.handle(phone,code,function (res){//phone湖南移动手机号 code 验证码</p> <p>//res.code != 1请求异常</p> <p>//res.data.code</p> <p>//20成功 40失败 -1验证码错误 1办理中 -200验证码已使用 -300验证码过期</p> <p>console.log(JSON.stringify(res))</p> <p>})</p>

页面列表

ITEM_HTML