Revert "Revert "修复数据库头像路径问题。""

This reverts commit e0184e0942510b0ff08363c8975e1033d2782740.