-
Notifications
You must be signed in to change notification settings - Fork 0
/
mo.js
48 lines (47 loc) · 1.28 KB
/
mo.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
ajax(
{
url: "request_login_auth_code",
data: {
mobile: "085867152777"
},
success: function(ajaxData) {
btn = 0;
// loading.hide();
var data = dealAjaxData(ajaxData);
if (data.code === 400120) {
mask.hide();
dialog.hide();
showTips(
"SMS mencapai batas harian, mohon coba lagi setelah 24 jam."
);
} else if (data.code === 0) {
mask.height($(document).height());
$(".pha").hide();
$(".time").css("display", "inline-block");
countDown();
} else if (data.code === 400141) {
mask.hide();
dialog.hide();
showTips(
"Anda telah mendaftar untuk Rupiah cepat,tetapi sayangnya tidak dapat berpartisipasi dalam acara tersebut"
);
} else if (data.code === 402001) {
// 一个设备IP24小时内最多可获取6次验证码
mask.hide();
dialog.hide();
showTips(
"Kode verifikasi mencapai batas harian, mohon coba lagi setelah 24 jam."
);
} else {
mask.hide();
dialog.hide();
showTips("Tidak dapat menghubungkan ke jaringan");
}
},
error: function() {
showTips("Tidak dapat menghubungkan ke jaringan");
btn = 0;
}
},
"v2"
);