'', 'touid' => '', 'fromuid' => '', 'module' => '', 'sign' => '', 'action' => '', 'credit_value' => '', 'createtime' => '' ); public function getByUniacid($uniacid) { return $this->query->where('uniacid', $uniacid)->get(); } public function getBySnake($fields = '*', $where = array(), $order = array('id' => 'DESC')) { return $this->query->select($fields)->where($where)->orderby($order); } }