コード例 #1
0
        public ApiResult <List <TaskResDto> > GetTaskList()
        {
            PersonalService   service = new PersonalService();
            List <TaskResDto> resDto  = service.GetTaskList(this.UserInfo.UserId);

            return(new ApiResult <List <TaskResDto> >()
            {
                Code = 100, Desc = "", Data = resDto
            });
        }