更新admin路径

This commit is contained in:
evoxwht 2023-04-06 14:30:36 +08:00
parent 476ae9b535
commit 3f5a76dcd5
3 changed files with 3 additions and 3 deletions

View File

@ -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('/'));

View File

@ -117,5 +117,5 @@ module.exports = {
},
publicPath: '/admin',
assetsDir: 'system_static',
indexPath: process.env.NODE_ENV === 'development' ? 'index.html' : 'system.html',
indexPath: 'index.html',
};

View File

@ -179,7 +179,7 @@
"quickapp" : {},
/* 小程序特有相关 */
"mp-weixin" : {
"appid" : "wx3b82801238ca1b57",
"appid" : "wx1234567890",
"setting" : {
"urlCheck" : false,
"minified" : true,