admin_service.py: correct typo parmas.
parent
87fd594636
commit
c284893097
|
@ -68,7 +68,7 @@ def article():
|
|||
max(1, int(request.args.get("page", 1))), _article_number // _page_size + (_article_number % _page_size > 0)
|
||||
) # 最小的page是1
|
||||
except ValueError:
|
||||
return "page parmas must be int!"
|
||||
return "page parameters must be int!"
|
||||
|
||||
_articles = get_page_articles(_cur_page, _page_size)
|
||||
_make_title_and_content(_articles)
|
||||
|
|
Loading…
Reference in New Issue