mod: 数据请求
This commit is contained in:
11
lib/models/common/dynamics_type.dart
Normal file
11
lib/models/common/dynamics_type.dart
Normal file
@ -0,0 +1,11 @@
|
||||
enum DynamicsType {
|
||||
all,
|
||||
video,
|
||||
pgc,
|
||||
article,
|
||||
}
|
||||
|
||||
extension BusinessTypeExtension on DynamicsType {
|
||||
String get values => ['all', 'video', 'pgc', 'article'][index];
|
||||
String get labels => ['全部', '视频投稿', '追番追剧', '专栏'][index];
|
||||
}
|
Reference in New Issue
Block a user