Skip to content

Optimize avatar upload

weijiang1994请求将github/fork/mutalisk999/main合并到main

Created by: mutalisk999

  1. Check upload stream bytes size before store it to file, and check if upload stream is jpg/png simply.
  2. Use md5 value of stream bytes as avatar file name to ignore the scene of the same uploaded stream bytes with multiple avatar files.

合并请求报告

加载中