Fix markdown preview breaks and statics image count
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user