mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /kind feature /area core /area plugin #### What this PR does / why we need it: This PR refactor AttachmentEndpoint by extracting `upload`, `delete`, `getPremalink` and `getSharedURL` logic in the endpoint into AttachmentService. Meanwhile, I expose the service to plugin, so that we can use the service in plugin conveniently. #### Special notes for your reviewer: Please confirm that those changes won't influence existing attachment features. #### Does this PR introduce a user-facing change? ```release-note None ``` |
||
---|---|---|
.. | ||
src | ||
build.gradle |