diff --git a/templates/book.html b/templates/book.html index 7e259ad..32452fa 100644 --- a/templates/book.html +++ b/templates/book.html @@ -1,56 +1,76 @@ + - - - -详情页面 - + + + + 详情页面 + +
@@ -73,10 +93,12 @@

用户A:Lorem ipsum dolor sit amet consectetur adipisicing elit. Nobis, quam!

-

用户B:Lorem, ipsum dolor sit amet consectetur adipisicing elit. Aut sunt tempore architecto minus, cum mollitia voluptatibus repellendus aliquid id reprehenderit.

+

用户B:Lorem, ipsum dolor sit amet consectetur adipisicing elit. Aut sunt tempore architecto minus, cum + mollitia voluptatibus repellendus aliquid id reprehenderit.

- + + \ No newline at end of file diff --git a/templates/view.html b/templates/view.html index 95f007a..705bd92 100644 --- a/templates/view.html +++ b/templates/view.html @@ -1,5 +1,5 @@ - + diff --git a/web/api_Img.py b/web/api_Img.py index 27bc48d..fa4fe9f 100644 --- a/web/api_Img.py +++ b/web/api_Img.py @@ -1,6 +1,6 @@ from flask import * from flask import Blueprint -import db.file , file +import db.file , file, gc api_Img_bp = Blueprint("api_Img_bp", __name__) @@ -23,4 +23,5 @@ def img(bookid, index): # 图片接口 del data response.headers.set("Content-Type", "image/Webp") response.headers.set("Content-Disposition", "inline", filename=filename) + gc.collect() return response