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

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

正在回答

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>手機(jī)號(hào)</label>

? ? ? ? ? ? <div>

? ? ? ? ? ? <input type="text" placeholder="手機(jī)號(hào)" 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("手機(jī)號(hào)不能為空");

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ā)送到了您的手機(jī)上,請(qǐng)注意查收");

} else {

alert("otp發(fā)送失敗,原因?yàn)?+data.data.errMsg);

}

},

error:function(data){

alert("otp發(fā)送失敗,原因?yàn)? + data.responseText);

}

});

return false;

});

? ? });

</script>



</html>


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

某寶9塊錢

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

幕布斯2371478

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

舉報(bào)

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

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

進(jìn)入課程

請(qǐng)問getotp的html有源碼嗎

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

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

幫助反饋 APP下載

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

公眾號(hào)

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