<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                1. 找到小程序短信請求的接口文件 page/select/select.js 找到`sendmessg`方法,查看短信請求的接口:`/index.php?ctl=Login&met=wxappregCode&typ=json` 在`ucenter`內修改如下代碼為其他短信平臺所提供的接口文件 /* * 小程序短信驗證碼獲取 * */ public function wxappregCode() { $mobile = request_string('mobile'); $check_code = mt_rand(100000, 999999); if ($mobile && Yf_Utils_String::isMobile($mobile)) { //判斷手機號是否已經注冊過 $User_InfoDetail = new User_InfoDetailModel(); $checkmobile = $User_InfoDetail -> checkMobile($mobile); if ($checkmobile) { $msg = _('該手機號已注冊'); $status = 250; } else { $save_result = $this -> _saveCodeCache($mobile, $check_code, 'verify_code'); if (!$save_result) { $msg = _('發送失敗'); $status = 250; } else { //發送短消息 $message_model = new Message_TemplateModel(); $pattern = array('/\[weburl_name\]/', '/\[yzm\]/'); $replacement = array(Web_ConfigModel::value("site_name"), $check_code); $message_info = $message_model -> getTemplateInfo(array('code' => 'regist_verify'), $pattern, $replacement); if (!$message_info['is_phone']) { $this -> data -> addBody(-140, array(), _('信息內容創建失敗'), 250); } $contents = $message_info['content_phone']; $result = Sms::send($mobile, $contents); if ($result) { $msg = _('發送成功'); $status = 200; } else { $msg = _('發送失敗'); $status = 250; } } } } else { $msg = __('發送失敗'); $status = 250; } $data = array(); if (DEBUG === false) { $data['user_code'] = $check_code; } return $this -> data -> addBody(-140, $data, $msg, $status); }
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看