mirror of
				https://github.com/Kakune55/ComiPy.git
				synced 2025-11-04 06:24:40 +08:00 
			
		
		
		
	feat:实现浏览页翻页功能
This commit is contained in:
		@@ -77,7 +77,7 @@ def view(bookid):  # 接口
 | 
			
		||||
    data = db.file.searchByid(bookid)
 | 
			
		||||
    if len(data) == 0:
 | 
			
		||||
        return abort(404)
 | 
			
		||||
    return render_template("view.html", id=bookid, index=range(1, data[0][3]))
 | 
			
		||||
    return render_template("view.html.j2", id=bookid, index=range(1, data[0][3]))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@page_bp.route("/upload", methods=["GET", "POST"])  # 文件上传
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user