getPage(); $where=[]; $where['company_id']=$this->userInfo['company_id']; $where['change_object']=CompanyAccountLog::SHAREHOLDER; // $where['change_type']=CompanyAccountLog::TASK_INC_SHAREHOLDER_MONEY; $count=CompanyAccountLog::where($where)->count(); $lists=CompanyAccountLog::where($where)->page($page,$limit)->order('id','desc')->select(); return $this->success('ok',['count'=>$count,'list'=>$lists]); } }