huwhois 4 jaren geleden
bovenliggende
commit
5ca480a6f4
1 gewijzigde bestanden met toevoegingen van 4 en 1 verwijderingen
  1. 4 1
      src/main/java/io/renren/modules/admin/controller/MeetingController.java

+ 4 - 1
src/main/java/io/renren/modules/admin/controller/MeetingController.java

78
    @RequiresPermissions("admin:meeting:info")
78
    @RequiresPermissions("admin:meeting:info")
79
    public R info(@PathVariable("id") Long id){
79
    public R info(@PathVariable("id") Long id){
80
		MeetingEntity meeting = meetingService.getById(id);
80
		MeetingEntity meeting = meetingService.getById(id);
81
        Date[] startAndEndTime = new Date[2];
82
        startAndEndTime[0] = meeting.getStartTime();
83
        startAndEndTime[0] = meeting.getEndTime();
81
        
84
        
82
        return R.ok().put("meeting", meeting);
85
        return R.ok().put("meeting", meeting).put("startAndEndTime", startAndEndTime);
83
    }
86
    }
84

87

85
    /**
88
    /**