evoxwht 2 лет назад
Родитель
Сommit
3f5a76dcd5
3 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      crmeb/route/route.php
  2. 1 1
      template/admin/vue.config.js
  3. 1 1
      template/uni-app/manifest.json

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

+ 1 - 1
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',
 };

+ 1 - 1
template/uni-app/manifest.json

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