|
|
@@ -490,7 +490,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'is_reset_password', value:is_reset_password}, function (ret) {
|
|
|
if (ret.status == 'fail') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -505,7 +505,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'is_active_register', value:is_active_register}, function (ret) {
|
|
|
if (ret.status == 'fail') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -520,7 +520,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'expire_warning', value:expire_warning}, function (ret) {
|
|
|
if (ret.status == 'fail') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -535,7 +535,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'referral_status', value:referral_status}, function (ret) {
|
|
|
if (ret.status == 'fail') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -571,7 +571,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'min_rand_score', value:min_rand_score}, function (ret) {
|
|
|
if (ret.status == 'fail') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -584,7 +584,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'max_rand_score', value:max_rand_score}, function (ret) {
|
|
|
if (ret.status == 'fail') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -597,7 +597,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'default_days', value:default_days}, function (ret) {
|
|
|
if (ret.status == 'success') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -610,7 +610,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'default_traffic', value:default_traffic}, function (ret) {
|
|
|
if (ret.status == 'success') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -623,7 +623,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'invite_num', value:invite_num}, function (ret) {
|
|
|
if (ret.status == 'success') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -636,7 +636,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'reset_password_times', value:reset_password_times}, function (ret) {
|
|
|
if (ret.status == 'success') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -649,7 +649,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'active_times', value:active_times}, function (ret) {
|
|
|
if (ret.status == 'success') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -662,7 +662,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'subscribe_max', value:subscribe_max}, function (ret) {
|
|
|
if (ret.status == 'success') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -675,7 +675,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'traffic_warning_percent', value:traffic_warning_percent}, function (ret) {
|
|
|
if (ret.status == 'success') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -689,7 +689,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'expire_days', value:expire_days}, function (ret) {
|
|
|
if (ret.status == 'success') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -702,7 +702,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'website_name', value:website_name}, function (ret) {
|
|
|
if (ret.status == 'success') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -715,7 +715,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'website_url', value:website_url}, function (ret) {
|
|
|
if (ret.status == 'success') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -728,7 +728,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'login_add_score_range', value:login_add_score_range}, function (ret) {
|
|
|
if (ret.status == 'success') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -741,7 +741,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'referral_traffic', value:referral_traffic}, function (ret) {
|
|
|
if (ret.status == 'success') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -754,7 +754,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setReferralPercent')}}", {_token:'{{csrf_token()}}', value:referral_percent}, function (ret) {
|
|
|
if (ret.status == 'success') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|
|
|
@@ -767,7 +767,7 @@
|
|
|
|
|
|
$.post("{{url('admin/setConfig')}}", {_token:'{{csrf_token()}}', name:'referral_money', value:referral_money}, function (ret) {
|
|
|
if (ret.status == 'success') {
|
|
|
- layer.msg(ret.message, function() {
|
|
|
+ layer.msg(ret.message, {time:1000}, function() {
|
|
|
window.location.reload();
|
|
|
});
|
|
|
}
|