|
money 是 decimal 类型
$this->db->set('gz_sf_money',$money,FALSE);
//$data = array('gz_sf_money' => "$money"); monery会被转义,此方法不可用。
$this->db->where('uniqid',$uniqid);
return $this->db->update($this->table);
这两种方式都不行,提示 could not be converted to string 怎么写才对!
|
|