|
|
@@ -23,6 +23,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
+import org.springframework.cloud.context.config.annotation.RefreshScope;
|
|
|
import org.springframework.ui.Model;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
@@ -63,6 +64,7 @@ import java.util.stream.Collectors;
|
|
|
@Api(tags = "资源管理控制器")
|
|
|
@ApiSupport(author = "SNOWY_TEAM", order = 1)
|
|
|
@RestController
|
|
|
+@RefreshScope
|
|
|
@Validated
|
|
|
public class ResourceRecordController {
|
|
|
|
|
|
@@ -695,8 +697,8 @@ public class ResourceRecordController {
|
|
|
@GetMapping("/disk/courseauditrecord/getShareInfoPage")
|
|
|
public ModelAndView getShareInfoPage(HttpServletRequest req) { // 返回ModelAndView
|
|
|
String id = req.getParameter("id");
|
|
|
- String stuShareLink = stuResourceShareLink + "?id=" + id;
|
|
|
- String teaShareLink = teaResourceShareLink + "?id=" + id;
|
|
|
+ String stuShareLink = stuResourceShareLink + "?id=" + id+"&isDump=1";
|
|
|
+ String teaShareLink = teaResourceShareLink + "?id=" + id+"&isDump=1";
|
|
|
|
|
|
ModelAndView mav = new ModelAndView();
|
|
|
mav.setViewName("share-page"); // 设置视图名称
|