在钩子中*只用报了这个错误钩子中怎么调用数据库函数呢
在钩子中, $this->db->select('*')->from($this->memberDataTable)->where('uid',$uid)->get();只用select报了 Call to a member function select() on null 这个错误,钩子中怎么调用数据库函数呢?


在钩子中, $this->db->select('*')->from($this->memberDataTable)->where('uid',$uid)->get();只用select报了 Call to a member function select() on null 这个错误,钩子中怎么调用数据库函数呢?

