mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-02 21:52:34 +08:00
优化Connection类的getRealSql方法生成的sql
This commit is contained in:
@@ -390,9 +390,7 @@ class App
|
||||
|
||||
Hook::listen('action_begin', $call);
|
||||
|
||||
$data = self::invokeMethod($call);
|
||||
|
||||
return $data;
|
||||
return self::invokeMethod($call);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -433,7 +433,7 @@ abstract class Connection
|
||||
$sql . ' ');
|
||||
}
|
||||
}
|
||||
return $sql;
|
||||
return rtrim($sql);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user