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