|
@@ -339,7 +339,7 @@ public class SysFileController {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@GetMapping("/upload/attachment/**")
|
|
@GetMapping("/upload/attachment/**")
|
|
- public ResponseEntity<Resource> uploadInline(HttpServletRequest request, HttpServletResponse response) {
|
|
|
|
|
|
+ public ResponseEntity<Resource> uploadAttachment(HttpServletRequest request, HttpServletResponse response) {
|
|
try {
|
|
try {
|
|
String path = request.getAttribute(HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE).toString();
|
|
String path = request.getAttribute(HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE).toString();
|
|
String bestMatchingPattern = request.getAttribute(HandlerMapping.BEST_MATCHING_PATTERN_ATTRIBUTE).toString();
|
|
String bestMatchingPattern = request.getAttribute(HandlerMapping.BEST_MATCHING_PATTERN_ATTRIBUTE).toString();
|