|
...
|
...
|
@@ -59,7 +59,7 @@ class Base extends Model |
|
|
|
*/
|
|
|
|
public function read($condition,$files = ['*'])
|
|
|
|
{
|
|
|
|
$query = formatQuery($condition);
|
|
|
|
$query = $this->formatQuery($condition);
|
|
|
|
$info = $query->select($files)->where($condition)->first();
|
|
|
|
if (empty($info)) {
|
|
|
|
return false;
|
...
|
...
|
|