获取token官网地址@@ -518,6 +518,7 @@+++++{axios- .post("http://20.165.225.104:8081/api/loginToken?token
2024-12-23 10:19
+
+
+
+
nst proxy_url = ref("");
const public_share = ref(false);
const site_password = ref("");
const setup_password = ref("");
+const loginUsername = ref("");
+const loginPassword = ref("");
const pandoraNext_License = ref("");
const whitelist = ref("");
@@ -715,7 +734,7 @@ const headers = {
*/
const fetchLoginToken = () => {
axios
- .post("http://20.165.225.104:8081/api/loginToken?token=" + token)
+ .post("/api/loginToken?token=" + token)
.then((response) => {
if (response.data.code == 0) {
console.error(response.data.data);
@@ -743,9 +762,12 @@ const onSearch = (value: string) => {
*/
const fetchDataAndFillForm = async (value: string) => {
try {
- const response = await axios.get(`http://20.165.225.104:8081/api/seleteToken?name=${value}`, {
- headers,
- });
+ const response = await axios.get(
+ `/api/seleteToken?name=${value}`,
+ {
+ headers,
+ }
+ );
const data = response.data.data;
console.log(data);
@@ -839,7 +861,7 @@ const onAddToken = () => {
password: addPassword.value,
updateTime: formattedTime,
};
- fetch("http://20.165.225.104:8081/api/addToken", {
+ fetch("/api/addToken", {
method: "POST",
headers: {
"Content-Type": "application/json",
@@ -889,9 +911,12 @@ const showData = (row: User) => {
* 修改系统设置函数
*/
const onRequireSetting = async () => {
- const response = await axios.get(`http://20.165.225.104:8081/api/selectSetting`, {
- headers,
- });
+ const response = await axios.get(
+ `/api/selectSetting`,
+ {
+ headers,
+ }
+ );
const data = response.data.data;
console.log(data);
bing.value = data.bing;
@@ -900,6 +925,8 @@ const onRequireSetting = async () => {
public_share.value = data.public_share;
site_password.value = data.site_password;
setup_password.value = data.setup_password;
+ loginUsername.value = data.loginUsername;
+ loginPassword.value = data.loginPassword;
pandoraNext_License.value = data.pandoraNext_License;
console.log(data.whitelist);
if (data.whitelist == null) {
@@ -920,11 +947,13 @@ const RequireSetting = () => {
public_share: public_share.value,
site_password: site_password.value,
setup_password: setup_password.value,
+ loginUsername: loginUsername.value,
+ loginPassword: loginPassword.value,
pandoraNext_License: pandoraNext_License.value,
whitelist: whitelist.value,
};
- fetch("http://20.165.225.104:8081/api/requireSetting", {
+ fetch("/api/requireSetting", {
method: "POST",
headers: {
"Content-Type": "application/json",
@@ -980,7 +1009,7 @@ const RequireToken = () => {
plus: temPlus.value,
password: temPassword.value,
};
- fetch("http://20.165.225.104:8081/api/requiredToken", {
+ fetch("/api/requiredToken", {
method: "POST",
headers: {
"Content-Type": "application/json",
@@ -1024,7 +1053,7 @@ const RequireToken = () => {
*/
const openPandora = async () => {
const loadingInstance = ElLoading.service({ fullscreen: true });
- const response = await axios.get(`http://20.165.225.104:8081/api/open`, {
+ const response = await axios.get(`/api/open`, {
headers,
});
const data = response.data.data;
@@ -1050,7 +1079,7 @@ const openPandora = async () => {
*/
const closePandora = async () => {
const loadingInstance = ElLoading.service({ fullscreen: true });
- const response = await axios.get(`http://20.165.225.104:8081/api/close`, {
+ const response = await axios.get(`/api/close`, {
headers,
});
const data = response.data.data;
@@ -1076,7 +1105,7 @@ const closePandora = async () => {
*/
const AgainPandora = async () => {
const loadingInstance = ElLoading.service({ fullscreen: true });
- const response = await axios.get(`http://20.165.225.104:8081/api/restart`, {
+ const response = await axios.get(`/api/restart`, {
headers,
});
const data = response.data.data;
@@ -1102,7 +1131,7 @@ const AgainPandora = async () => {
*/
const reloadPandora = async () => {
const loadingInstance = ElLoading.service({ fullscreen: true });
- const response = await axios.get(`http://20.165.225.104:8081/api/reload`, {
+ const response = await axios.get(`/api/reload`, {
headers,
});
const data = response.data.data;
@@ -1128,7 +1157,7 @@ const reloadPandora = async () => {
*/
const verifyPandora = async () => {
const loadingInstance = ElLoading.service({ fullscreen: true });
- const response = await axios.get(`http://20.165.225.104:8081/api/verify`, {
+ const response = await axios.get(`/api/verify`, {
headers,
});
const data = response.data.data;
@@ -1167,7 +1196,7 @@ const reNew = (row: User) => {
password: row.password,
};
- fetch("http://20.165.225.104:8081/api/updateToken", {
+ fetch("/api/updateToken", {
method: "POST",
headers: {
"Content-Type": "application/json",
@@ -1238,9 +1267,13 @@ const deleteToken = (index: number, row: User) => {
)
.then(() => {
axios
- .put(`http://20.165.225.104:8081/api/deleteToken?name=${row.name}`, null, {
- headers,
- })
+ .put(
+ `/api/deleteToken?name=${row.name}`,
+ null,
+ {
+ headers,
+ }
+ )
.then((response) => {
msg = "删除成功!";
// 从数组中移除商品项
@@ -1382,7 +1415,10 @@ const logout = () => {
height: auto;
}
.requireSettingDialog {
- height: auto;
+ height: 83vh;
+ overflow-y: auto;
+
+ overflow-x: hidden;
}
.el-tag {
diff --git a/PandoraNext-TokensTool/src/views/homeIphone.vue b/PandoraNext-TokensTool/src/views/homeIphone.vue
index e2104b4..2fb68ab 100644
--- a/PandoraNext-TokensTool/src/views/homeIphone.vue
+++ b/PandoraNext-TokensTool/src/views/homeIphone.vue
@@ -46,7 +46,7 @@
>验证PandoraNext
PandoraNext参数设置系统参数设置
退出登录
@@ -223,7 +223,7 @@
获取token
官网地址
最新文章
网站SEM优化秘籍,流量倍增与精准营销之道
网站SEM优化推广,关键在于精准定位关键词、优化广告内容和布局,合理分配预算,结合数据分析调整策略。通过持续优化,有效提升网站流量,实现精准营销,助力企业快速触达目标客户。SEM的重要性1、提升网站曝光度:通过SEM优化推广,使网站
创意召集令!东营市垦利区文旅形象宣传系列作品有奖征集
齐鲁网·闪电新闻12月19日讯近日,东营市垦利区发布文旅形象宣传作品有奖征集公告。为进一步提升垦利文旅形象,塑造文旅品牌,扩大垦利文旅影响力,特面向全社会公开征集垦利区文旅形象宣传系列作品。坚持“公开、公平、公正”原则,面向全
苏州网站建设>如何在外贸网站中提高用户体验和易用性?
苏州网站建设公司五一点创网络科技小编浅谈如何在外贸网站中提高用户体验和易用性?在外贸网站中提高用户体验和易用性,可以从以下几个方面入手:一、简化网站导航布局简洁:确保导航栏的布局简洁明了,让用户能够快速找到所需信息。分类合
非法人组织的种类
在的概念当中是分为三类的:第一类是自然人,也就是普通的个体第二类是,也就是公司,企业等等,第三类就是了,这三类是我国规定的可以依法进行的主体,那么前两类都还是比较好理解的,对于这个非法人组织应当怎么样的理解,在我国都包括什
生成式AI的革命:人类应如何直面“新知识”?
AIGCGenerative AI_生成式人工智能(AI)来袭,无人能够置身事外——ChatGPT无所不知,Midjourney绘图惊艳众人,Sora视频创作无缝衔接……生成式AI将带来怎样的变革?你准备好迎接充满可能性的未来了吗?在《生成式AI的革命》中,你将看到
快速搭建个人主页:HTML模板实战指南
超文本标记语言(HTML)是构建网页的基础。一个基本的HTML文档由声明开始,接着是根元素,它包含了和两个主要部分。部分存放文档的元数据,如字符编码声明、网页标题和样式表链接等,而部分则包含了页