2023-12-03 15:19:02 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# @Author : relakkes@gmail.com
|
|
|
|
# @Time : 2023/12/3 16:20
|
|
|
|
# @Desc :
|
|
|
|
|
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
2023-12-04 15:16:02 +00:00
|
|
|
class SearchOrderType(Enum):
|
2023-12-03 15:19:02 +00:00
|
|
|
# 综合排序
|
|
|
|
DEFAULT = ""
|
|
|
|
|
|
|
|
# 最多点击
|
|
|
|
MOST_CLICK = "click"
|
|
|
|
|
|
|
|
# 最新发布
|
|
|
|
LAST_PUBLISH = "pubdate"
|
|
|
|
|
|
|
|
# 最多弹幕
|
|
|
|
MOST_DANMU = "dm"
|
|
|
|
|
|
|
|
# 最多收藏
|
|
|
|
MOST_MARK = "stow"
|
2023-12-04 15:16:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
class CommentOrderType(Enum):
|
|
|
|
# 仅按热度
|
|
|
|
DEFAULT = 0
|
|
|
|
|
|
|
|
# 按热度+按时间
|
|
|
|
MIXED = 1
|
|
|
|
|
|
|
|
# 按时间
|
|
|
|
TIME = 2
|