111
This commit is contained in:
17
login.html
17
login.html
@@ -9,10 +9,10 @@
|
|||||||
<!-- 嵌入头部 -->
|
<!-- 嵌入头部 -->
|
||||||
<script type="text/javascript" src="./js/jquery.js"></script>
|
<script type="text/javascript" src="./js/jquery.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$(function(){
|
$(function() {
|
||||||
$("#header").load("./header.html");
|
$("#header").load("./header.html");
|
||||||
});
|
});
|
||||||
$(function(){
|
$(function() {
|
||||||
$("#footer").load("./footer.html");
|
$("#footer").load("./footer.html");
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@@ -139,7 +139,8 @@
|
|||||||
|
|
||||||
var time2 = Date.now()
|
var time2 = Date.now()
|
||||||
|
|
||||||
$('#codeImg2').attr('src', 'http://aos.yyundong.com/ycsafe/captcha/captchaImagetype=math×tamp=' +time2);
|
$('#codeImg2').attr('src', 'http://aos.yyundong.com/ycsafe/captcha/captchaImagetype=math×tamp=' +
|
||||||
|
time2);
|
||||||
}
|
}
|
||||||
|
|
||||||
function closePopup() {
|
function closePopup() {
|
||||||
@@ -275,13 +276,13 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$.post('http://192.168.0.105:7072/ycsafe/website/register', {
|
$.post('http://aos.yyundong.com/ycsafe/ycsafe/website/register', {
|
||||||
'name': name,
|
'name': name,
|
||||||
'password': password,
|
'password': password,
|
||||||
'telephone': telephone,
|
'telephone': telephone,
|
||||||
'enterpriseName': companyName,
|
'enterpriseName': companyName,
|
||||||
'captcha': captcha,
|
'captcha': captcha,
|
||||||
'timestamp':time2,
|
'timestamp': time2,
|
||||||
}, function(resp) {
|
}, function(resp) {
|
||||||
|
|
||||||
if (!!resp && !!resp.result) {
|
if (!!resp && !!resp.result) {
|
||||||
@@ -298,12 +299,14 @@
|
|||||||
|
|
||||||
time1 = Date.now()
|
time1 = Date.now()
|
||||||
|
|
||||||
$('#codeImg1').attr('src', 'http://aos.yyundong.com/ycsafe/captcha/captchaImage?type=math×tamp=' + time1);
|
$('#codeImg1').attr('src', 'http://aos.yyundong.com/ycsafe/captcha/captchaImage?type=math×tamp=' +
|
||||||
|
time1);
|
||||||
}
|
}
|
||||||
|
|
||||||
function changeCodeImg2() {
|
function changeCodeImg2() {
|
||||||
time2 = Date.now()
|
time2 = Date.now()
|
||||||
$('#codeImg2').attr('src', 'http://aos.yyundong.com/ycsafe/captcha/captchaImage?type=math×tamp=' + time2);
|
$('#codeImg2').attr('src', 'http://aos.yyundong.com/ycsafe/captcha/captchaImage?type=math×tamp=' +
|
||||||
|
time2);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user