Commit 40d0e7bf authored by wwccw0591's avatar wwccw0591

pc

parent 1d788dc8
...@@ -220,6 +220,7 @@ class OrderModel extends \DAO\AbstractModel ...@@ -220,6 +220,7 @@ class OrderModel extends \DAO\AbstractModel
public function update($where, $data) public function update($where, $data)
{ {
$this->setDb(\Our\DbNameConst::masterDBConnectName); $this->setDb(\Our\DbNameConst::masterDBConnectName);
$data['gmt_update']=TIMESTAMP;
return $this->db->update($this->_tableName)->where($where)->rows($data)->execute(); return $this->db->update($this->_tableName)->where($where)->rows($data)->execute();
} }
......
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