|
@@ -100,9 +100,9 @@
|
|
|
dataType: "json",
|
|
|
cache: false,
|
|
|
data: {"mobile": $(this).val()},
|
|
|
- url: "{{rootUrl}}user/profile/check/mobile",
|
|
|
- }).done(function (data) {
|
|
|
- if (data['mobile'] > 0) {
|
|
|
+ url: "{{rootUrl}}user/profile/check/mobile"
|
|
|
+ }).done(function(data){
|
|
|
+ if (data["mobile"] > 0) {
|
|
|
$("#input_error").addClass('error');
|
|
|
$("#help-inline").html('手机号码已被使用');
|
|
|
$("#help-inline").show();
|
|
@@ -145,9 +145,9 @@
|
|
|
dataType: "json",
|
|
|
cache: false,
|
|
|
data: {"mobile": $("#mobile").val()},
|
|
|
- url: "{{rootUrl}}user/profile/check/mobile",
|
|
|
- }).done(function (data) {
|
|
|
- if (data['mobile'] > 0) {
|
|
|
+ url: "{{rootUrl}}user/profile/check/mobile"
|
|
|
+ }).done(function(data) {
|
|
|
+ if (data["mobile"] > 0) {
|
|
|
$("#input_error").addClass('error');
|
|
|
$("#help-inline").html('手机号码已被使用');
|
|
|
$("#help-inline").show();
|
|
@@ -160,7 +160,7 @@
|
|
|
dataType: "json",
|
|
|
cache: false,
|
|
|
data: {"mobile": $("#mobile").val()},
|
|
|
- url: "{{rootUrl}}user/profile/sms/send/verify",
|
|
|
+ url: "{{rootUrl}}user/profile/sms/send/verify"
|
|
|
}).done(function (data) {
|
|
|
});
|
|
|
var count = 60;
|
|
@@ -186,7 +186,7 @@
|
|
|
dataType: "json",
|
|
|
cache: false,
|
|
|
data: {"mobile": $("#mobile").val(), "verifycode": $("#verifycode").val()},
|
|
|
- url: "{{rootUrl}}user/profile/sms",
|
|
|
+ url: "{{rootUrl}}user/profile/sms"
|
|
|
}).done(function (data) {
|
|
|
// window.location.href = "{{rootUrl}}user/profile/sms";
|
|
|
window.location.reload();
|
|
@@ -194,4 +194,4 @@
|
|
|
});
|
|
|
});
|
|
|
</script>
|
|
|
-</body>
|
|
|
+</body>
|