cqpCow %!s(int64=2) %!d(string=hai) anos
pai
achega
508e5ddd78
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      config/database.php

+ 1 - 1
config/database.php

@@ -2,7 +2,7 @@
 
 use Illuminate\Support\Str;
 //账套
-$zt = Request()->header('zt');
+$zt = $_SERVER['HTTP_ZT'];
 $mysql = "mysql";//默认
 if($zt === '001') $mysql = "mysql_001";
 if($zt === '002') $mysql = "mysql_002";