Fix markdown preview breaks and statics image count

This commit is contained in:
LeonspaceX
2026-01-26 23:47:37 +08:00
parent 7ab4dfb9a0
commit 463c793e89
4 changed files with 24 additions and 3 deletions

View File

@@ -457,8 +457,7 @@ def get_statics():
try:
post_count = Submission.query.count()
comment_count = Comment.query.count()
# TODO目前暂未实现图片上传逻辑先返回114514
image_count = 114514
image_count = ImgFile.query.count()
return jsonify({
"code": 1000,
"data": {