<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>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ## 一、找回密碼之驗證用戶 ### 1.調試接口 +++ post:http://www.dakaifa.net/index.php?g=App&m=Reg&a=judge *string:name=13834626385#手機號 <<< success { "msg": 1 } <<< error { "msg": 0 } +++ ### 2.接口代碼 ``` public function judge(){ $name = json_decode($_POST['name']); $map['mobile'] = $name; $users = M("Users"); $model = $users->where($map)->find(); if ($model) { # code... $ret = array('msg'=>1); echo json_encode($ret); }else{ $ret = array('msg'=>0); echo json_encode($ret); } } ``` ## 二、找回密碼之修改密碼 ### 1.調試接口 +++ post:http://www.dakaifa.net/index.php?g=App&m=Reg&a=update *string:name=13834626385#手機號 *string:password=123#密碼 <<< success { "msg": 1 } <<< error { "msg": 0 } +++ ### 2.接口代碼 ``` public function retrievepwd(){ $name = json_decode($_POST['name']); $password = json_decode($_POST['password']); $users = M("Users"); $map['mobile'] = $name; $data['mobile'] = $name; $data['user_pass'] = sp_password($password); $model = $users->where($map)->save($data); if ($model) { $ret = array('msg'=>1); echo json_encode($ret); }else{ $ret = array('msg'=>0); echo json_encode($ret); } } ```
                  <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>

                              哎呀哎呀视频在线观看