用AI赚第一桶💰低成本搭建一套AI赚钱工具,源码可二开。 广告
**使用之前需要先到我们指定的网站申请应用,通过之后方可使用。申请流程请看帮助—>第三方平台申请—>本机一键登录申请** # 一键登录 ### **BSL.OXlogin('callbackMethod')** | 参数 | 必填 | 说明 | | --- | --- | --- | | callbackMethod | 是 | 用于接收返回信息的方法 | #### 返回信息示例: {"code":"000000","phone":"xxxxxxxxxxx"} | 参数 | 说明 | | --- | --- | | code | 信息码,“00000”为成功,其他均为失败。错误码查询[https://shimo.im/docs/v3pY3tptXPqPkhKp/read](https://shimo.im/docs/v3pY3tptXPqPkhKp/read) | | phone | 登录的手机号码 | ``` <script> function login(result){ alert(result); } </script> <a href="#" onclick="BSL.OXlogin('login')">本机一键登录</a> ``` ### **BSL.SmsStart('phone','SmsSecret','callbackMethod')** 发送短信功能 使用此功能需要去秒验平台开通短信功能[http://my.wlwx.com/site/index.html](http://my.wlwx.com/site/index.html),平台使用说明里面有详细的开通步骤。 | 参数 | 必填 | 说明 | | --- | --- | --- | | phone | 是 | 接收验证的手机号码 | | SmsSecret | 是 | 从秒验平台得到的SmsSecret,在应用详情里面可以查看 | | callbackMethod | 是 | 用于接收返回信息的方法 | 返回信息示例: {"code":"200","msg":"发送成功"} | 参数 | 说明 | | --- | --- | | code | 信息码,“200”为成功,其他均为失败。 | | msg | 提示信息 | ~~~ <script> function smsCallback(result){ alert(result); } </script> <a href="#" onclick="BSL.SmsStart('186xxxxxx','xxxxx','smsCallback')">发送短信</a> ~~~ ### **BSL.SmsCheck('phone','code','callbackMethod')** 验证短信功能 | 参数 | 必填 | 说明 | | --- | --- | --- | | phone | 是 | 接收验证的手机号码 | | code | 是 | 收到的验证码 | | callbackMethod | 是 | 用于接收返回信息的方法 | 返回信息示例: {"code":"200","msg":"验证成功"} | 参数 | 说明 | | --- | --- | | code | 信息码,“200”为成功,其他均为失败。 | | msg | 提示信息 | ~~~ <script> function smsCallback(result){ alert(result); } </script> <a href="#" onclick="BSL.SmsCheck('186xxxxxx','xxxxx','smsCallback')">核对验证码</a> ~~~