mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
更新admin路径
This commit is contained in:
parent
476ae9b535
commit
3f5a76dcd5
@ -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('/'));
|
||||
|
||||
@ -117,5 +117,5 @@ module.exports = {
|
||||
},
|
||||
publicPath: '/admin',
|
||||
assetsDir: 'system_static',
|
||||
indexPath: process.env.NODE_ENV === 'development' ? 'index.html' : 'system.html',
|
||||
indexPath: 'index.html',
|
||||
};
|
||||
|
||||
@ -179,7 +179,7 @@
|
||||
"quickapp" : {},
|
||||
/* 小程序特有相关 */
|
||||
"mp-weixin" : {
|
||||
"appid" : "wx3b82801238ca1b57",
|
||||
"appid" : "wx1234567890",
|
||||
"setting" : {
|
||||
"urlCheck" : false,
|
||||
"minified" : true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user