ss 1 year ago
parent
commit
cec900ac10
4 changed files with 11 additions and 8 deletions
  1. 1 1
      config/app.php
  2. 8 5
      public/.htaccess
  3. 1 1
      public/admin/css/common.css
  4. 1 1
      public/static/h5/css/common.css

+ 1 - 1
config/app.php

@@ -249,7 +249,7 @@ return [
         'lock' => 30*60 // 锁定时间(s)
     ],
 
-    'addr_url' => 'http://guoyao.jya-tech.com/h5/repair/index?code=',
+    'addr_url' => request()->domain().'/h5/repair/index?code=',
 
 
     // 上传excel文件

+ 8 - 5
public/.htaccess

@@ -1,6 +1,9 @@
 <IfModule mod_rewrite.c>
-RewriteEngine on
-RewriteCond %{REQUEST_FILENAME} !-d
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
-</IfModule>
+  Options +FollowSymlinks -Multiviews
+  RewriteEngine On
+
+  RewriteCond %{REQUEST_FILENAME} !-d
+  RewriteCond %{REQUEST_FILENAME} !-f
+#  RewriteRule ^(.*)$ index.html/$1 [QSA,PT,L]
+  RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
+</IfModule>

+ 1 - 1
public/admin/css/common.css

@@ -1,5 +1,5 @@
 :root {
-    --themeColor: #148D8F;
+    --themeColor: #284a94;
 }
 .bg-theme{
     background-color: var(--themeColor) !important;

+ 1 - 1
public/static/h5/css/common.css

@@ -1,3 +1,3 @@
 :root {
-    --themeColor: #148D8F;
+    --themeColor: #284a94;
 }