diff --git a/par-core/src/main/java/com/par/core/enums/SiteType.java b/par-core/src/main/java/com/par/core/enums/SiteType.java index c9b8743..f1a5f85 100644 --- a/par-core/src/main/java/com/par/core/enums/SiteType.java +++ b/par-core/src/main/java/com/par/core/enums/SiteType.java @@ -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 diff --git a/web/src/views/SiteReview.vue b/web/src/views/SiteReview.vue index 2522ff2..34998a0 100644 --- a/web/src/views/SiteReview.vue +++ b/web/src/views/SiteReview.vue @@ -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 diff --git a/web/src/views/Sites.vue b/web/src/views/Sites.vue index 42542dc..b07ab21 100644 --- a/web/src/views/Sites.vue +++ b/web/src/views/Sites.vue @@ -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('')