第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

正在回答

2 回答

<html>

<head>

<meta charset="utf-8" />

<script src="static/assets/global/plugins/jquery-1.11.0.min.js" type="text/javascript"></script>

</head>


<body>

<div>

? ? <h3>獲取otp信息</h3>

? ? <div>

? ? ? ? <label>手機號</label>

? ? ? ? ? ? <div>

? ? ? ? ? ? <input type="text" placeholder="手機號" name="telphone" id="telphone" />

? ? ? ? ? ? </div>

? ? ? ? </div>

? ? ? ? <div>

? ? ? ? <button id="getotp" type="submit">

? ? ? ? ? ? 獲取otp短信

? ? ? ? ? ? </button>

? ? </div>

? ? </div>

</body>


<script>

jQuery(document).ready(function() {

? ? ? ? $("#getotp").on("click",function(){

var telphone = $("#telphone").val();

if(telphone == null || telphone == ""){

alert("手機號不能為空");

return false;

}

$.ajax({

type:"POST",

contentType:"application/x-www-form-urlencoded",

url:"http://localhost:8080/user/getotp",

data:{

"telphone":$("#telphone").val(),

},

success:function(data){

if(data.status == "success") {

alert("otp已經(jīng)發(fā)送到了您的手機上,請注意查收");

} else {

alert("otp發(fā)送失敗,原因為"+data.data.errMsg);

}

},

error:function(data){

alert("otp發(fā)送失敗,原因為" + data.responseText);

}

});

return false;

});

? ? });

</script>



</html>


0 回復(fù) 有任何疑惑可以回復(fù)我~

某寶9塊錢

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

幕布斯2371478

9nm
2022-02-10 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消
SpringBoot構(gòu)建電商基礎(chǔ)秒殺項目
  • 參與學(xué)習       49374    人
  • 解答問題       978    個

應(yīng)用SpringBoot快速搭建擁有用戶、商品、交易及秒殺活動的電商秒殺應(yīng)用。

進入課程

請問getotp的html有源碼嗎

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號