update 小程序企业端会议下载资料
This commit is contained in:
+3
-3
@@ -25,7 +25,6 @@ import com.jero.data.service.IPayCaseCommitteeService;
|
|||||||
import com.jero.data.service.IPayCaseCommitteeSubitemService;
|
import com.jero.data.service.IPayCaseCommitteeSubitemService;
|
||||||
import com.jero.data.service.IPayCaseCouncilSubitemService;
|
import com.jero.data.service.IPayCaseCouncilSubitemService;
|
||||||
import com.jero.meeting.common.MeetingCommon;
|
import com.jero.meeting.common.MeetingCommon;
|
||||||
import com.jero.meeting.common.MeetingSubitemCommon;
|
|
||||||
import com.jero.meeting.entity.*;
|
import com.jero.meeting.entity.*;
|
||||||
import com.jero.meeting.mapper.PayMeetingGuestsFileMapper;
|
import com.jero.meeting.mapper.PayMeetingGuestsFileMapper;
|
||||||
import com.jero.meeting.service.*;
|
import com.jero.meeting.service.*;
|
||||||
@@ -671,10 +670,11 @@ public class PayMeetingController extends JeroController<PayMeeting, IPayMeeting
|
|||||||
* 预览图片&下载文件
|
* 预览图片&下载文件
|
||||||
*
|
*
|
||||||
* @param id 传入文件id
|
* @param id 传入文件id
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
@ApiOperation(value = "小程序企业端会议下载资料", notes = "企业端会议下载资料")
|
@ApiOperation(value = "小程序企业端会议下载资料", notes = "企业端会议下载资料")
|
||||||
@GetMapping(value = "/userDownloadByApplet/{id}/{meetingId}")
|
@GetMapping(value = "/userDownloadByApplet/{id}/{meetingId}")
|
||||||
public void userDownloadByApplet(@PathVariable String id, @PathVariable String meetingId, HttpServletResponse response, String type) {
|
public Result<Object> userDownloadByApplet(@PathVariable String id, @PathVariable String meetingId, HttpServletResponse response, String type) {
|
||||||
LoginUser sysUser =(LoginUser) SecurityUtils.getSubject().getPrincipal();
|
LoginUser sysUser =(LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||||
String sysUserId = sysUser.getId();
|
String sysUserId = sysUser.getId();
|
||||||
PayMeeting payMeeting = payMeetingService.getById(meetingId);
|
PayMeeting payMeeting = payMeetingService.getById(meetingId);
|
||||||
@@ -733,7 +733,7 @@ public class PayMeetingController extends JeroController<PayMeeting, IPayMeeting
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return Result.OK();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user