diff --git a/src/layout/default-layout.vue b/src/layout/default-layout.vue
index a2ae4db..4cb4966 100644
--- a/src/layout/default-layout.vue
+++ b/src/layout/default-layout.vue
@@ -136,7 +136,7 @@
});
const onLogin = async () => {
- const resp : any = await axios.post("https://k6.vicicode.cn/wsapi/login", {
+ const resp : any = await axios.post("https://k5.vicicode.cn/wsapi/login", {
'username': formData.account,
'password': formData.password
})
@@ -164,7 +164,7 @@
});
return;
}
- const resp : any = await axios.post("https://k6.vicicode.cn/wsapi/register", {
+ const resp : any = await axios.post("https://k5.vicicode.cn/wsapi/register", {
'username': formData.account,
'password': formData.password
})
diff --git a/src/views/idea/channel/index.vue b/src/views/idea/channel/index.vue
index 0591fda..555337a 100644
--- a/src/views/idea/channel/index.vue
+++ b/src/views/idea/channel/index.vue
@@ -29,8 +29,8 @@
👍
- {{$t('global.download')}}
- {{$t('global.use')}}
+ {{$t('global.download')}}
+ {{$t('global.use')}}
@@ -77,7 +77,7 @@
{
state.page = page.current
- const resp : any = await axios.get("https://k6.vicicode.cn/wsapi/list?type=2&limit=12&page=" + page.current + "&t=" + Date.now())
+ const resp : any = await axios.get("https://k5.vicicode.cn/wsapi/list?type=2&limit=12&page=" + page.current + "&t=" + Date.now())
state.total = resp.total
state.nowpage = resp.data
}
@@ -146,7 +146,7 @@
const showPanel = async () => {
state.refLoading = true;
state.showPanel = true
- const resp : any = await axios.post("https://k6.vicicode.cn/wsapi/my_list", {
+ const resp : any = await axios.post("https://k5.vicicode.cn/wsapi/my_list", {
'type': 2,
'token': userStore.accountId
})
@@ -169,7 +169,7 @@
});
return;
}
- await axios.post("https://k6.vicicode.cn/wsapi/upload", {
+ await axios.post("https://k5.vicicode.cn/wsapi/upload", {
'type': 2,
'token': userStore.accountId,
'title': formData.title,
@@ -181,7 +181,7 @@
}
const onDT = async (id: any) => {
- await axios.post("https://k6.vicicode.cn/wsapi/delete", {
+ await axios.post("https://k5.vicicode.cn/wsapi/delete", {
'id': id,
'token': userStore.accountId,
})
@@ -189,7 +189,7 @@
}
const onStar = async (id: any) => {
- await axios.post("https://k6.vicicode.cn/wsapi/star", {
+ await axios.post("https://k5.vicicode.cn/wsapi/star", {
'id': id
})
Message.success({
diff --git a/src/views/idea/firmware/index.vue b/src/views/idea/firmware/index.vue
index 538b4c9..cd720aa 100644
--- a/src/views/idea/firmware/index.vue
+++ b/src/views/idea/firmware/index.vue
@@ -29,8 +29,8 @@
👍
- {{$t('global.download')}}
- {{$t('global.use')}}
+ {{$t('global.download')}}
+ {{$t('global.use')}}
@@ -77,7 +77,7 @@
{
state.page = page.current
- const resp : any = await axios.get("https://k6.vicicode.cn/wsapi/list?type=0&limit=12&page=" + page.current + "&t=" + Date.now())
+ const resp : any = await axios.get("https://k5.vicicode.cn/wsapi/list?type=0&limit=12&page=" + page.current + "&t=" + Date.now())
state.total = resp.total
state.nowpage = resp.data
}
@@ -146,7 +146,7 @@
const showPanel = async () => {
state.refLoading = true;
state.showPanel = true
- const resp : any = await axios.post("https://k6.vicicode.cn/wsapi/my_list", {
+ const resp : any = await axios.post("https://k5.vicicode.cn/wsapi/my_list", {
'type': 0,
'token': userStore.accountId
})
@@ -169,7 +169,7 @@
});
return;
}
- await axios.post("https://k6.vicicode.cn/wsapi/upload", {
+ await axios.post("https://k5.vicicode.cn/wsapi/upload", {
'type': 0,
'token': userStore.accountId,
'title': formData.title,
@@ -181,7 +181,7 @@
}
const onDT = async (id: any) => {
- await axios.post("https://k6.vicicode.cn/wsapi/delete", {
+ await axios.post("https://k5.vicicode.cn/wsapi/delete", {
'id': id,
'token': userStore.accountId,
})
@@ -189,7 +189,7 @@
}
const onStar = async (id: any) => {
- await axios.post("https://k6.vicicode.cn/wsapi/star", {
+ await axios.post("https://k5.vicicode.cn/wsapi/star", {
'id': id
})
Message.success({
diff --git a/src/views/idea/image/index.vue b/src/views/idea/image/index.vue
index 67d8349..706b6f2 100644
--- a/src/views/idea/image/index.vue
+++ b/src/views/idea/image/index.vue
@@ -22,7 +22,7 @@
-
+
@@ -32,7 +32,7 @@
-
+
@@ -84,7 +84,7 @@
{
state.page = page.current
- const resp : any = await axios.get("https://k6.vicicode.cn/wsapi/list?type=1&limit=24&page=" + page.current + "&t=" + Date.now())
+ const resp : any = await axios.get("https://k5.vicicode.cn/wsapi/list?type=1&limit=24&page=" + page.current + "&t=" + Date.now())
state.total = resp.total
state.nowpage = resp.data
}
@@ -196,7 +196,7 @@
const showPanel = async () => {
state.refLoading = true;
state.showPanel = true
- const resp : any = await axios.post("https://k6.vicicode.cn/wsapi/my_list", {
+ const resp : any = await axios.post("https://k5.vicicode.cn/wsapi/my_list", {
'type': 1,
'token': userStore.accountId
})
@@ -219,7 +219,7 @@
});
return;
}
- await axios.post("https://k6.vicicode.cn/wsapi/upload", {
+ await axios.post("https://k5.vicicode.cn/wsapi/upload", {
'type': 1,
'token': userStore.accountId,
'title': formData.title,
@@ -231,7 +231,7 @@
}
const onDT = async (id: any) => {
- await axios.post("https://k6.vicicode.cn/wsapi/delete", {
+ await axios.post("https://k5.vicicode.cn/wsapi/delete", {
'id': id,
'token': userStore.accountId,
})
@@ -239,7 +239,7 @@
}
const onStar = async (id: any) => {
- await axios.post("https://k6.vicicode.cn/wsapi/star", {
+ await axios.post("https://k5.vicicode.cn/wsapi/star", {
'id': id
})
Message.success({
diff --git a/src/views/idea/losehu/index.vue b/src/views/idea/losehu/index.vue
index 0f07934..dddf7c2 100644
--- a/src/views/idea/losehu/index.vue
+++ b/src/views/idea/losehu/index.vue
@@ -34,13 +34,13 @@ const useFirmware = () => {
router.push({
path: '/tool/flash',
query: {
- url: 'https://k6.vicicode.cn/diyapi/LOSEHU' + state.flag.join('') + '.bin?v=' + (new Date()).getTime()
+ url: 'https://k5.vicicode.cn/diyapi/LOSEHU' + state.flag.join('') + '.bin?v=' + (new Date()).getTime()
}
});
}
const iDownload = () => {
- fetch('https://k6.vicicode.cn/diyapi/LOSEHU' + state.flag.join('') + '.bin?v=' + (new Date()).getTime()).then(e=>e.blob()).then(blob=>{
+ fetch('https://k5.vicicode.cn/diyapi/LOSEHU' + state.flag.join('') + '.bin?v=' + (new Date()).getTime()).then(e=>e.blob()).then(blob=>{
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
@@ -83,7 +83,7 @@ const { loading, setLoading } = useLoading(true);
onMounted(async () => {
setLoading(true)
- let functions = await (await fetch('https://k6.vicicode.cn/diyapi/function.json?v=' + (new Date()).getTime())).text()
+ let functions = await (await fetch('https://k5.vicicode.cn/diyapi/function.json?v=' + (new Date()).getTime())).text()
functions = JSON.parse(functions)
let _newfunc: any = []
let _showSort: any = []
@@ -112,7 +112,7 @@ onMounted(async () => {
state.disName = disName
state.disMatrix = disMatrix
state.showSort = _showSort
- const versions = await (await fetch('https://k6.vicicode.cn/diyapi/version.json?v=' + (new Date()).getTime())).text()
+ const versions = await (await fetch('https://k5.vicicode.cn/diyapi/version.json?v=' + (new Date()).getTime())).text()
state.versions = JSON.parse(versions)
updateMatrix()
setLoading(false)
diff --git a/src/views/list/bl/index.vue b/src/views/list/bl/index.vue
index 26137a5..20a70b8 100644
--- a/src/views/list/bl/index.vue
+++ b/src/views/list/bl/index.vue
@@ -126,9 +126,9 @@
})
const loadBL = async() => {
- const latestVersion = JSON.parse(await (await fetch('https://k6.vicicode.cn/diyapi/bl.json')).text())!.latest;
+ const latestVersion = JSON.parse(await (await fetch('https://k5.vicicode.cn/diyapi/bl.json')).text())!.latest;
state.blName = latestVersion;
- const fontPacket = await fetch('https://k6.vicicode.cn/diyapi/' + latestVersion);
+ const fontPacket = await fetch('https://k5.vicicode.cn/diyapi/' + latestVersion);
if(fontPacket.body){
const reader = fontPacket.body.getReader();
const chunks = [];
diff --git a/src/views/list/sat/index.vue b/src/views/list/sat/index.vue
index 0f76fa8..dcfd47c 100644
--- a/src/views/list/sat/index.vue
+++ b/src/views/list/sat/index.vue
@@ -292,7 +292,7 @@ const scanLocation = async () => {
}
const handleOk = async () => {
- const lol = await (await fetch('https://k6.vicicode.cn/api/lol', {
+ const lol = await (await fetch('https://k5.vicicode.cn/api/lol', {
method: "POST",
mode: "cors",
headers: {
@@ -327,7 +327,7 @@ const restoreRange = async (start: any = 0, uint8Array: any) => {
const getPass = async () => {
if (!state.sat) { alert('请选择卫星!'); return; };
setLoading(true)
- const res = await (await fetch('https://k6.vicicode.cn/api/pass', {
+ const res = await (await fetch('https://k5.vicicode.cn/api/pass', {
method: "POST",
mode: "cors",
headers: {
@@ -375,7 +375,7 @@ const writeIt = async () => {
}
if (!state.pass) { alert('请选择过境时间!'); return; };
setLoading(true)
- const res = await (await fetch('https://k6.vicicode.cn/api/doppler', {
+ const res = await (await fetch('https://k5.vicicode.cn/api/doppler', {
method: "POST",
mode: "cors",
headers: {
diff --git a/src/views/list/satloc/index.vue b/src/views/list/satloc/index.vue
index 851d4d9..05003cb 100644
--- a/src/views/list/satloc/index.vue
+++ b/src/views/list/satloc/index.vue
@@ -57,7 +57,7 @@ onMounted(()=>{
})
const upload = async () => {
- await fetch('https://k6.vicicode.cn/api/lol', {
+ await fetch('https://k5.vicicode.cn/api/lol', {
method: "POST",
mode: "cors",
headers: {