Commit e3493f54 authored by liuyuzhen's avatar liuyuzhen

购物车日志

parent 341beb22
......@@ -56,6 +56,7 @@ class CartModel extends \DAO\AbstractModel{
public function update($data,$where){
$this->setDb(\Our\DbNameConst::masterDBConnectName);
$result=$this->db->update($this->_tableName)->rows($data)->where($where)->execute();
\Our\Log::getInstance()->write($this->db->getLastSql(),'/data/log/appcart');
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