This commit is contained in:
parent
dc3ad5a99c
commit
abfc92405c
|
@ -120,6 +120,6 @@ public class SysOssPersonController extends BaseController {
|
||||||
@SaCheckPermission("file:person:preview")
|
@SaCheckPermission("file:person:preview")
|
||||||
@PostMapping("/preview/{id}")
|
@PostMapping("/preview/{id}")
|
||||||
public R<String> preview(@NotNull(message = "主键不能为空") @PathVariable Long id) throws Exception {
|
public R<String> preview(@NotNull(message = "主键不能为空") @PathVariable Long id) throws Exception {
|
||||||
return R.ok(sysOssPersonService.preview(id));
|
return R.ok("操作成功",sysOssPersonService.preview(id));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue