From d6c7af9e8d71dc4c35932754f61ac492606bda33 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Tue, 4 Apr 2023 17:43:14 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AE=89=E8=A3=85sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/public/install/crmeb.sql | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/crmeb/public/install/crmeb.sql b/crmeb/public/install/crmeb.sql index e95810c91..de7f28ce0 100755 --- a/crmeb/public/install/crmeb.sql +++ b/crmeb/public/install/crmeb.sql @@ -1526,7 +1526,7 @@ CREATE TABLE IF NOT EXISTS `eb_lang_code` ( `lang_explain` varchar(255) NOT NULL DEFAULT '' COMMENT '说明', `is_admin` tinyint(1) NOT NULL DEFAULT '0' COMMENT '服务端1,用户端2', PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=24971 DEFAULT CHARSET=utf8 COMMENT='语言code表'; +) ENGINE=InnoDB AUTO_INCREMENT=25001 DEFAULT CHARSET=utf8 COMMENT='语言code表'; -- -- 转存表中的数据 `eb_lang_code` @@ -33327,7 +33327,7 @@ CREATE TABLE IF NOT EXISTS `eb_system_config` ( `sort` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '排序', `status` tinyint(1) UNSIGNED NOT NULL DEFAULT '0' COMMENT '是否隐藏', PRIMARY KEY (`id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=428 DEFAULT CHARSET=utf8 COMMENT='配置表'; +) ENGINE=InnoDB AUTO_INCREMENT=435 DEFAULT CHARSET=utf8 COMMENT='配置表'; -- -- 转存表中的数据 `eb_system_config` @@ -33531,7 +33531,8 @@ INSERT INTO `eb_system_config` (`id`, `menu_name`, `type`, `input_type`, `config (429, 'get_avatar', 'radio', 'input', 7, '0=>关闭\n1=>开启', 1, '', 0, 0, '\"0\"', '强制获取昵称头像', '是否在小程序用户授权之后,弹窗获取用户的昵称和头像', 0, 1), (430, 'share_qrcode', 'radio', 'input', 2, '0=>商城\n1=>公众号', 1, '', 0, 0, '\"0\"', '公众号推广码类型', '公众号生成的推广码类型:商城:扫码直接进入商城,公众号:扫码进入公众号后推送商城的链接', 0, 1), (431, 'member_brokerage', 'radio', 'input', 73, '1=>开启\n0=>关闭', 1, '', 0, 0, '\"0\"', '购买付费会员返佣', '购买付费会员是否按照设置的佣金比例进行返佣', 98, 1), -(432, 'user_brokerage_type', 'radio', 'input', 73, '0=>按照商品价格返佣\n1=>按照实际支付价格返佣', 1, '', 0, 0, '\"0\"', '返佣类型', '选择返佣类型,按照商品价格返佣(按照商品售价计算返佣金额)以及按照实际支付价格返佣(按照商品的实际支付价格计算返佣 )', 97, 1); +(432, 'user_brokerage_type', 'radio', 'input', 73, '0=>按照商品价格返佣\n1=>按照实际支付价格返佣', 1, '', 0, 0, '\"0\"', '返佣类型', '选择返佣类型,按照商品价格返佣(按照商品售价计算返佣金额)以及按照实际支付价格返佣(按照商品的实际支付价格计算返佣 )', 97, 1), +(433, 'network_security', 'text', 'input', 26, '', 1, '', 100, 0, '\"\"', '网安备案', '公安部门登记的备案信息,显示在pc底部', 0, 1); -- -------------------------------------------------------- @@ -33550,7 +33551,7 @@ CREATE TABLE IF NOT EXISTS `eb_system_config_tab` ( `type` int(2) NOT NULL DEFAULT '0' COMMENT '配置类型', `sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序', PRIMARY KEY (`id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=109 DEFAULT CHARSET=utf8 COMMENT='配置分类表'; +) ENGINE=InnoDB AUTO_INCREMENT=110 DEFAULT CHARSET=utf8 COMMENT='配置分类表'; -- -- 转存表中的数据 `eb_system_config_tab` @@ -34658,7 +34659,8 @@ INSERT INTO `eb_system_menus` (`id`, `pid`, `icon`, `menu_name`, `module`, `cont (1072, 1064, '', '接口文档', 'admin', '', '', '', '', '[]', 0, 1, 0, 1, '/setting/system_out_interface/index', '56/1064', 1, '', 0, 'setting-system-out-interface-index', 0), (1073, 25, '', '数据维护', 'admin', '', '', '', '', '[]', 7, 1, 0, 1, 'system/database/index', '25', 1, '', 0, 'system-database-index', 0), (1075, 731, '', '会员配置', 'admin', '', '', '', '', '[]', 6, 1, 0, 1, '/marketing/member/system_config/3/67', '27/731', 1, '', 0, 'marketing-member-system_config', 0), -(1076, 56, '', '定时任务', 'admin', '', '', '', '', '[]', 0, 1, 0, 1, '/system/crontab', '25/56', 1, '', 0, 'system-crontab-index', 0); +(1076, 56, '', '定时任务', 'admin', '', '', '', '', '[]', 0, 1, 0, 1, '/system/crontab', '25/56', 1, '', 0, 'system-crontab-index', 0), +(1077, 7, '', '主页', 'admin', '', '', '', '', '[]', 100, 1, 0, 1, '/home', '7', 1, '', 0, 'admin-index-index', 0); -- -------------------------------------------------------- From ed53670d81fe14d9076916aed3eb76c084cda9d6 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Thu, 6 Apr 2023 10:29:43 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=B0=86=E7=AE=A1=E7=90=86=E7=AB=AF?= =?UTF-8?q?=E6=89=93=E5=8C=85=E5=87=BA=E6=9D=A5=E7=9A=84=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=94=BE=E5=9B=9E=E5=88=B0admin=E7=9B=AE=E5=BD=95=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/admin/vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/admin/vue.config.js b/template/admin/vue.config.js index e7bba642d..a0e2f575a 100644 --- a/template/admin/vue.config.js +++ b/template/admin/vue.config.js @@ -115,7 +115,7 @@ module.exports = { devServer: { port: 1617, // 端口 }, - publicPath: '/', + publicPath: '/admin', assetsDir: 'system_static', indexPath: process.env.NODE_ENV === 'development' ? 'index.html' : 'system.html', }; From 476ae9b53515618fd3bf38d9f6c0c8bc63cc13f1 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Thu, 6 Apr 2023 10:33:57 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=90=8E=E5=8F=B0?= =?UTF-8?q?=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/route/route.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/crmeb/route/route.php b/crmeb/route/route.php index 3c6768124..71bb5ab33 100644 --- a/crmeb/route/route.php +++ b/crmeb/route/route.php @@ -12,18 +12,17 @@ Route::miss(function () { } switch (strtolower($appName)) { - case config('app.admin_prefix','admin'): - return view(app()->getRootPath() . 'public' . DS . 'system.html'); + case config('app.admin_prefix', 'admin'): + case 'kefu': + return view(app()->getRootPath() . 'public' . DS . config('app.admin_prefix', 'admin') . DS . 'system.html'); case 'home': if (request()->isMobile()) { return redirect(app()->route->buildUrl('/')); } else { return view(app()->getRootPath() . 'public' . DS . 'home' . DS . 'index.html'); } - case 'kefu': - return view(app()->getRootPath() . 'public' . DS . 'system.html'); case 'pages': - return view(app()->getRootPath() . 'public' .DS . 'index.html'); + return view(app()->getRootPath() . 'public' . DS . 'index.html'); default: if (!request()->isMobile() && is_dir(app()->getRootPath() . 'public' . DS . 'home') && !request()->get('type')) { return view(app()->getRootPath() . 'public' . DS . 'home' . DS . 'index.html');