摘要:
class sqlHandler(): def __init__(self): self.connect() def connect(self): self.conn = conn = pymysql.connect(host="127.0.0.1", port=3306, user="root", 阅读全文
posted @ 2020-03-19 19:10
仙人小麦
阅读(191)
评论(0)
推荐(0)
摘要:
utils/pager.py class Pagination(object): def __init__(self, current_page, all_count, base_url, query_params, per_page=30, pager_page_count=11): """ 分页 阅读全文
posted @ 2020-03-19 19:07
仙人小麦
阅读(1056)
评论(0)
推荐(0)
浙公网安备 33010602011771号