chore: 移除站点类型 M-Team/PTTime/JSON API

This commit is contained in:
mediabot-pt
2026-06-30 14:18:16 +08:00
parent 9be2d0313a
commit 84940ead31
3 changed files with 2 additions and 7 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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('')