lists($page,$size,$name,$type,$this->orgId); HelpHander::success($ret); } public function userList(){ $page = input('page/d',1); $size = input('size/d',10); $name = input('name','','trim'); $type = input('type/d',0); $uid = input('uid/d',0); $ret = model('AttendanceLeave')->lists($page,$size,$name,$type,$this->orgId,$uid); HelpHander::success($ret); } public function leaveRecord(){ $page = input('page/d',1); $size = input('size/d',10); $startTime = input('startTime','','trim'); $endTime = input('endTime','','trim'); $uid = input('uId/d',0); $ret = model('AttendanceLeave')->leaveRecord($page,$size,$this->orgId,$uid,$startTime,$endTime); HelpHander::success($ret); } }