Commit b5709341 authored by zhz's avatar zhz

goods

parent 19d68c5f
......@@ -86,6 +86,7 @@ class GoodsCommonModel extends \DAO\AbstractModel {
}
$str .= "->fetchAll();";
eval($str);
\Our\Log::getInstance()->write($this->db->getLastSql());
return $data;
}
/**
......@@ -124,6 +125,7 @@ class GoodsCommonModel extends \DAO\AbstractModel {
$str .=" limit {$limit[0]},{$limit[1]}";
}
$data = $this->db->query($str);
\Our\Log::getInstance()->write($this->db->getLastSql());
return $data->rows;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment