LeanCloud
LeanCloud
wangxiao2015
V2EX  ›  LeanCloud

LeanCloud JavaScript 发送短信

  •  
  •   wangxiao2015 · Jun 6, 2015 · 4011 views
    This topic created in 4059 days ago, the information mentioned may be changed or developed.

    LeanCloud 平台提供了一个移动 App 的完整后端解决方案,目标是完全消除写后端代码和维护服务器的必要性.

    AV.Cloud.requestSmsCode('186xxxxxxxx').then(function(){
    //发送成功
    }, function(err){
    //发送失败
    });

    AV.Cloud.verifySmsCode('6位数字验证码', '11 位手机号码').then(function(){
    //验证成功
    }, function(err){
    //验证失败
    });

    具体请参考文档 https://leancloud.cn/docs/js_sms_guide.html

    Kai
        1
    Kai  
       Jun 6, 2015 via iPhone
    请发帖的时候同时考虑一下节点选择,比如 /go/leancloud 或许比 /go/qna 更合适 ...
    wangxiao2015
        2
    wangxiao2015  
    OP
       Jun 6, 2015
    @Kai 好的,非常感谢。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1301 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 17:25 · PVG 01:25 · LAX 10:25 · JFK 13:25
    ♥ Do have faith in what you're doing.