chore: 移除站点类型 M-Team/PTTime/JSON API
This commit is contained in:
@@ -9,11 +9,8 @@ import com.fasterxml.jackson.annotation.JsonValue;
|
||||
public enum SiteType {
|
||||
NEXUSPHP("nexusphp", "NexusPHP"),
|
||||
MTORRENT("mtorrent", "MTorrent"),
|
||||
MTEAM("mteam", "M-Team API"),
|
||||
PTTIME("pttime", "PTTime"),
|
||||
GAZELLE("gazelle", "Gazelle"),
|
||||
UNIT3D("unit3d", "UNIT3D"),
|
||||
JSONAPI("jsonapi", "JSON API"),
|
||||
UNKNOWN("unknown", "未知");
|
||||
|
||||
@EnumValue
|
||||
|
||||
@@ -81,9 +81,8 @@ const approveVisible = ref(false), saving = ref(false)
|
||||
const approveForm = reactive({ id: null, siteId: '', namesText: '', urlsText: '', siteType: '', status: 'active', notes: '' })
|
||||
const siteTypes = [
|
||||
{ value: 'nexusphp', label: 'NexusPHP' }, { value: 'mtorrent', label: 'MTorrent' },
|
||||
{ value: 'mteam', label: 'M-Team API' }, { value: 'pttime', label: 'PTTime' },
|
||||
{ value: 'gazelle', label: 'Gazelle' }, { value: 'unit3d', label: 'UNIT3D' },
|
||||
{ value: 'jsonapi', label: 'JSON API' }, { value: 'unknown', label: '未知' },
|
||||
{ value: 'unknown', label: '未知' },
|
||||
]
|
||||
const matchVisible = ref(false), matchQuery = ref(''), matchResults = ref([]), matchSearching = ref(false)
|
||||
let matchTargetId = null
|
||||
|
||||
@@ -125,9 +125,8 @@ const editVisible = ref(false), saving = ref(false)
|
||||
const editForm = reactive({ id: null, siteId: '', namesText: '', urlsText: '', siteType: '', status: '', description: '' })
|
||||
const siteTypes = [
|
||||
{ value: 'nexusphp', label: 'NexusPHP' }, { value: 'mtorrent', label: 'MTorrent' },
|
||||
{ value: 'mteam', label: 'M-Team API' }, { value: 'pttime', label: 'PTTime' },
|
||||
{ value: 'gazelle', label: 'Gazelle' }, { value: 'unit3d', label: 'UNIT3D' },
|
||||
{ value: 'jsonapi', label: 'JSON API' }, { value: 'unknown', label: '未知' },
|
||||
{ value: 'unknown', label: '未知' },
|
||||
]
|
||||
|
||||
const configVisible = ref(false), configLoading = ref(false), configError = ref(''), configContent = ref(''), configSiteId = ref('')
|
||||
|
||||
Reference in New Issue
Block a user