From 7fb3e128273fd64bd914703ff73b2f94b38fa1b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <93301500+xushubieli@users.noreply.github.com> Date: Thu, 18 May 2023 15:48:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/index_body.php | 9 +++------ src/admin/js/body.js | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/admin/index_body.php b/src/admin/index_body.php index b7329e70..918b54ca 100644 --- a/src/admin/index_body.php +++ b/src/admin/index_body.php @@ -11,7 +11,6 @@ require(dirname(__FILE__).'/config.php'); require(DEDEINC.'/image.func.php'); require(DEDEINC.'/dedetag.class.php'); -//默认首页 if (empty($dopost)) { require(DEDEINC.'/inc/inc_fun_funAdmin.php'); $verLockFile = DEDEDATA.'/admin/ver.txt'; @@ -69,7 +68,7 @@ if (empty($dopost)) { if (!extension_loaded("openssl")) { echo json_encode(array( "code" => -1001, - "msg" => "PHP不支持OpenSSL,无法完成商业版授权。", + "msg" => "PHP不支持OpenSSL,无法完成商业版授权", "result" => null, )); exit; @@ -77,7 +76,7 @@ if (empty($dopost)) { if (empty($cfg_auth_code)) { echo json_encode(array( "code" => -1002, - "msg" => "当前站点已授权社区版,获取更多官方技术支持,请选择商业版。", + "msg" => "当前站点已授权社区版,获取更多官方技术支持,请选择商业版", "result" => null, )); exit; @@ -98,7 +97,7 @@ if (empty($dopost)) { "result" => array( "domain" => $res->domain, "title" => $res->title, - "stype" => $res->stype == 1 ? "企业单位" : "个人", + "stype" => $res->stype == 1 ? "企业" : "个人", "auth_version" => $res->auth_version, "auth_at" => date("Y-m-d", $res->auth_at), "core" => $core_info, @@ -108,7 +107,6 @@ if (empty($dopost)) { } } elseif ($dopost == 'get_statistics') { require_once(DEDEINC."/libraries/statistics.class.php"); - //获取统计信息 $sdate = empty($sdate) ? 0 : intval($sdate); $stat = new DedeStatistics; $rs = $stat->GetInfoByDate($sdate); @@ -120,7 +118,6 @@ if (empty($dopost)) { exit; } elseif ($dopost == 'get_statistics_multi') { require_once(DEDEINC."/libraries/statistics.class.php"); - //获取统计信息 $sdates = empty($sdates) ? array() : explode(",",preg_replace("[^\d\,]","",$sdates)) ; $stat = new DedeStatistics; $rs = $stat->GetInfoByDateMulti($sdates); diff --git a/src/admin/js/body.js b/src/admin/js/body.js index 274362dc..874cd9c6 100644 --- a/src/admin/js/body.js +++ b/src/admin/js/body.js @@ -98,7 +98,7 @@ function LoadServer() {
${rsp.msg}
- 您已购买了商业版授权,登录DedeBIZ官网会员中心可查看相关授权信息。 + 您已购买了商业版授权,登录DedeBIZ官网会员中心可查看相关授权信息