| Server IP : 116.153.78.57 / Your IP : 43.159.78.114 Web Server : nginx/1.28.0 System : Linux 1763701629066 6.8.0-53-generic #55-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 17 15:37:52 UTC 2025 x86_64 User : www ( 1001) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/www.lengcat.cn/wp-content/themes/onenav/inc/admin/assets/ |
Upload File : |
/*
* @Author: iowen
* @Author URI: https://www.iowen.cn/
* @Date: 2022-01-24 21:51:38
* @LastEditors: iowen
* @LastEditTime: 2022-06-24 18:46:59
* @FilePath: \onenav\inc\admin\assets\page-list.js
* @Description:
*/
(function ($) {
$(document).on("click", ".io-recheck-button", function () {
var _this = $(this);
var _wind = $('#invalid_info');
var _close = $('.invalid-close');
var _notice = $('.invalid-doc');
_wind.show();
_close.hide();
_notice.html('<p style="text-align: center;">稍 等 . . .</p>');
$.ajax({
type: "POST",
url: _this.attr('ajax-url'),
data: _this.data(),
dataType: "json",
error: function (n) {
var n_con = '<div class="invalid invalid-error">网络异常或者操作失败,请稍候再试! </div>';
_notice.html(n_con);
_close.show();
},
success: function (n) {
var n_con = '';
if(n.status){
var redirect = n.redirect_count>0 ? '<br>最终网址:' + n.final_url : '';
n_con = '<div class="invalid invalid-' + n.status_code + '"><p><b>网址:</b>' + n.url + '</p>\
状态:' + n.status_text + '<br>代码:' + n.http_code + '<br>重定向:' + n.redirect_count + ' 次'+redirect+'</div>';
n_con += '<div class="invalid-body"><div class="invalid-log">'+n.log.replace(/\n/g,"<br>")+'</div></div>';
}else{
n_con = '<div class="invalid invalid-error">'+ n.error + '</div>';
}
_notice.html(n_con);
_close.show();
}
});
});
$(document).on("click", ".invalid-close", function () {
$('.invalid-doc').html("");
$('#invalid_info').hide();
});
})(jQuery);