Commit 798cc48c authored by liuyuzhen's avatar liuyuzhen

优惠券

parent b083077e
...@@ -30,6 +30,7 @@ class MemberCouponModel extends \DAO\AbstractModel{ ...@@ -30,6 +30,7 @@ class MemberCouponModel extends \DAO\AbstractModel{
public function getList($where,$field = \Our\NameConst::allField){ public function getList($where,$field = \Our\NameConst::allField){
$this->setDb($this->dbName); $this->setDb($this->dbName);
$result = $this->db->select($field)->from($this->_tableName)->where($where)->fetchAll(); $result = $this->db->select($field)->from($this->_tableName)->where($where)->fetchAll();
\Our\Log::getInstance()->write($this->db->getLastSql());
return $result ; return $result ;
} }
......
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