文件路径

This commit is contained in:
wanggeng888 2021-04-15 17:43:17 +08:00
parent 6010920a8a
commit dd03b8c36c
3 changed files with 3 additions and 3 deletions

View File

@ -110,7 +110,7 @@ public class FileAppController extends DefaultBaseController {
})
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
@GetMapping("list")
public List<FileDTO> listFileByFileId(@RequestParam("ids") String ids) {
public List<FileDTO> list(@RequestParam("ids") String ids) {
List<String> idList = Arrays.asList(ids.split(","));
return fileService.list(idList);
}

View File

@ -204,7 +204,7 @@
return;
}
top.restAjax.get(top.restAjax.path('api/file/listfilebyfileid', []), {
top.restAjax.get(top.restAjax.path('api/file/list', []), {
ids: ids
}, null, function(code, data) {
refreshDownloadTemplet(fileName, data);

View File

@ -205,7 +205,7 @@
return;
}
top.restAjax.get(top.restAjax.path('api/file/listfilebyfileid', []), {
top.restAjax.get(top.restAjax.path('api/file/list', []), {
ids: ids
}, null, function(code, data) {
refreshDownloadTemplet(fileName, data);