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 1/4] =?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 2/4] =?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'); From 587848ef1bfc953747aeb26df1d5e0deefd7705e Mon Sep 17 00:00:00 2001 From: From-wh Date: Thu, 6 Apr 2023 14:20:38 +0800 Subject: [PATCH 3/4] =?UTF-8?q?improve:=20=E4=BF=AE=E6=94=B9=E6=89=93?= =?UTF-8?q?=E5=8C=85=E5=90=8Ehtml=E6=96=87=E4=BB=B6?= 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..69c3359a2 100644 --- a/template/admin/vue.config.js +++ b/template/admin/vue.config.js @@ -117,5 +117,5 @@ module.exports = { }, publicPath: '/', assetsDir: 'system_static', - indexPath: process.env.NODE_ENV === 'development' ? 'index.html' : 'system.html', + indexPath: process.env.NODE_ENV === 'development' ? 'index.html' : 'index.html', }; From 3f5a76dcd5e4a8d272e7231584b2b3c634e16f3b Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Thu, 6 Apr 2023 14:30:36 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0admin=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/route/route.php | 2 +- template/admin/vue.config.js | 2 +- template/uni-app/manifest.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crmeb/route/route.php b/crmeb/route/route.php index 71bb5ab33..ccdf6de23 100644 --- a/crmeb/route/route.php +++ b/crmeb/route/route.php @@ -14,7 +14,7 @@ Route::miss(function () { switch (strtolower($appName)) { case config('app.admin_prefix', 'admin'): case 'kefu': - return view(app()->getRootPath() . 'public' . DS . config('app.admin_prefix', 'admin') . DS . 'system.html'); + return view(app()->getRootPath() . 'public' . DS . config('app.admin_prefix', 'admin') . DS . 'index.html'); case 'home': if (request()->isMobile()) { return redirect(app()->route->buildUrl('/')); diff --git a/template/admin/vue.config.js b/template/admin/vue.config.js index a0e2f575a..922e0e6bd 100644 --- a/template/admin/vue.config.js +++ b/template/admin/vue.config.js @@ -117,5 +117,5 @@ module.exports = { }, publicPath: '/admin', assetsDir: 'system_static', - indexPath: process.env.NODE_ENV === 'development' ? 'index.html' : 'system.html', + indexPath: 'index.html', }; diff --git a/template/uni-app/manifest.json b/template/uni-app/manifest.json index f904dad84..07c444047 100644 --- a/template/uni-app/manifest.json +++ b/template/uni-app/manifest.json @@ -179,7 +179,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wx3b82801238ca1b57", + "appid" : "wx1234567890", "setting" : { "urlCheck" : false, "minified" : true,