Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
原本的代码中,在反复上传同一张图像但是不同名图像的时候会反复存储重复图像。
将原本图像缓存的<图像名/外链图像地址,服务器图像地址>键值对更改为<图像摘要,服务器图像地址>
图像摘要使用SHA256算法。
不仅外链图像转存支持缓存,限制上传图像也支持转存。
使用postman进行上传图像测试,不同名图像在缓存时间内都会指向同一个服务器上的图像。

