function get_one($where = array(),$select='*'){ $this->db->select($select); if($where){ $this->db->where($where); } $this->db->limit(1); $query = $this->db->get('ych_sendreward'); return $query->row_array(); }
function get_one($where = array(),$select='*'){ $this->db->select($select); if($where){ $this->db->where($where); } $this->db->limit(1); $query = $this->db->get('ych_sendreward'); return $query->row_array(); }
转载于:https://www.cnblogs.com/shaoing/p/5545205.html