|
|
|
|
@ -7,7 +7,7 @@ use Illuminate\Support\Facades\DB;
|
|
|
|
|
class Lu
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public static $request;
|
|
|
|
|
public static $request = null;
|
|
|
|
|
|
|
|
|
|
public static function ssl()
|
|
|
|
|
{
|
|
|
|
|
@ -42,7 +42,7 @@ class Lu
|
|
|
|
|
|
|
|
|
|
public static function RequestLog()
|
|
|
|
|
{
|
|
|
|
|
if ($_SERVER['REQUEST_METHOD'] !== 'OPTIONS' && env('REQUEST_LOG')) {
|
|
|
|
|
if ($_SERVER['REQUEST_METHOD'] !== 'OPTIONS' && env('REQUEST_LOG') && !self::$request) {
|
|
|
|
|
self::CheckTableName();
|
|
|
|
|
$post_data = request()->post();
|
|
|
|
|
foreach ($post_data as $key => $post_datum) {
|
|
|
|
|
|