Commit 77cd5896 authored by zhz's avatar zhz

goods

parent 9700c873
......@@ -89,6 +89,7 @@ class GoodsCommonModel extends \DAO\AbstractModel {
}
$str .= "->fetchAll();";
eval($str);
\Our\Log::getInstance()->write($this->db->getLastSql());
return $data;
}
/**
......@@ -130,6 +131,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