fix[任务模块]:排队信息返回价格优化,用户昵称头像更新逻辑,新增获取可查看文件接口等
This commit is contained in:
+12
-2
@@ -87,11 +87,21 @@ public class FileController {
|
||||
return pageResult;
|
||||
}
|
||||
|
||||
@GetMapping("/files/{id}")
|
||||
public String getViewUrl(@PathVariable String id) {
|
||||
@GetMapping("/file/{id}")
|
||||
public String getFileViewUrl(@PathVariable String id) {
|
||||
return fileService.getViewUrl(id);
|
||||
}
|
||||
|
||||
@GetMapping("/files/{id}")
|
||||
public Result getViewUrl(@PathVariable String id) {
|
||||
return Result.succeed(fileService.getViewUrl(id),"获取成功");
|
||||
}
|
||||
|
||||
@GetMapping("/file/path")
|
||||
public Result getFileViewUrlByPath(@RequestParam String path) {
|
||||
return Result.succeed(fileService.getViewUrlByPath(path),"获取成功");
|
||||
}
|
||||
|
||||
@GetMapping("/files/path")
|
||||
public String getViewUrlByPath(@RequestParam String path) {
|
||||
return fileService.getViewUrlByPath(path);
|
||||
|
||||
@@ -4,7 +4,7 @@ server:
|
||||
spring:
|
||||
application:
|
||||
name: file-center
|
||||
# cloud:
|
||||
# nacos:
|
||||
# discovery:
|
||||
# ip: 119.45.169.13
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
ip: 119.45.169.13
|
||||
|
||||
Reference in New Issue
Block a user