摘要:
class sqlHandler(): def __init__(self): self.connect() def connect(self): self.conn = conn = pymysql.connect(host="127.0.0.1", port=3306, user="root", 阅读全文
摘要:
utils/pager.py class Pagination(object): def __init__(self, current_page, all_count, base_url, query_params, per_page=30, pager_page_count=11): """ 分页 阅读全文