整理

上级 c67ccad2
.login-container[data-v-bca4874e]{background-color:#35495e;height:100%}.login-container .login-box[data-v-bca4874e]{width:400px;height:250px;background-color:#fff;border-radius:3px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 6px hsla(0,0%,100%,.5)}.login-container .login-box .form-login[data-v-bca4874e]{position:absolute;bottom:0;left:0;width:100%;box-sizing:border-box}.form-control[data-v-bca4874e]{flex:1}.avatar-box[data-v-bca4874e]{position:absolute;width:100%;top:-65px;left:0}.avatar-box .avatar[data-v-bca4874e]{width:120px;height:120px;border-radius:50%!important;box-shadow:0 0 6px #efefef}.layout-header-left-img[data-v-003b0f4a]{height:50px}.layout-aside-container[data-v-4b966958]{width:200px;height:100%;border-right:1px solid #eaeaea}.left-aside-item[data-v-4b966958]{font-size:20px}.el-main{padding:20px 3px!important}.el-header[data-v-5503bb7a]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-5503bb7a]{color:#333}.pagination[data-v-5503bb7a]{margin-top:16px;text-align:right}.arrow-button[data-v-5503bb7a]{display:flex;align-items:center;justify-content:center;border:none;background-color:transparent;cursor:pointer}.custom-icon[data-v-5503bb7a]{font-size:24px;color:#f90;margin-right:6px}.arrow-button.disabled[data-v-5503bb7a]{pointer-events:none;opacity:.1}.el-header[data-v-46e73c50]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-46e73c50]{color:#333}.pagination[data-v-46e73c50]{margin-top:16px;text-align:right}.header-button-item[data-v-46e73c50]{margin-right:15px;font-size:20px}.backtop[data-v-46e73c50]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.backtop[data-v-46e73c50]:hover{background-color:#0050a0}.el-header[data-v-a05e897a]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-a05e897a]{color:#333}.pagination[data-v-a05e897a]{margin-top:16px;text-align:right}.header-button-item[data-v-a05e897a]{margin-right:15px;font-size:20px}.red-title[data-v-a05e897a]{line-height:24px;font-size:18px;color:red}.backtop[data-v-a05e897a]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-a05e897a]{width:100%;text-align:left}.backtop[data-v-a05e897a]:hover{background-color:#0050a0}.el-header[data-v-277bc25c]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-277bc25c]{color:#333}.pagination[data-v-277bc25c]{margin-top:16px;text-align:right}.header-button-item[data-v-277bc25c]{margin-right:15px;font-size:20px}.red-title[data-v-277bc25c]{line-height:24px;font-size:18px;color:red}.backtop[data-v-277bc25c]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-277bc25c]{width:100%;text-align:left}.backtop[data-v-277bc25c]:hover{background-color:#0050a0}.el-header[data-v-7f9d4b2f]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-7f9d4b2f]{color:#333}.pagination[data-v-7f9d4b2f]{margin-top:16px;text-align:right}.header-button-item[data-v-7f9d4b2f]{margin-right:15px;font-size:20px}.red-title[data-v-7f9d4b2f]{line-height:24px;font-size:18px;color:red}.backtop[data-v-7f9d4b2f]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-7f9d4b2f]{width:100%;text-align:left}.backtop[data-v-7f9d4b2f]:hover{background-color:#0050a0}.el-header[data-v-3db5ae18]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-3db5ae18]{color:#333}.pagination[data-v-3db5ae18]{margin-top:16px;text-align:right}.header-button-item[data-v-3db5ae18]{margin-right:15px;font-size:20px}.red-title[data-v-3db5ae18]{line-height:24px;font-size:18px;color:red}.backtop[data-v-3db5ae18]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-3db5ae18]{width:100%;text-align:left}.backtop[data-v-3db5ae18]:hover{background-color:#0050a0}.el-header[data-v-33b199a6]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-33b199a6]{color:#333}.pagination[data-v-33b199a6]{margin-top:16px;text-align:right}.header-button-item[data-v-33b199a6]{margin-right:15px;font-size:20px}.red-title[data-v-33b199a6]{line-height:24px;font-size:18px;color:red}.backtop[data-v-33b199a6]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-33b199a6]{width:100%;text-align:left}.backtop[data-v-33b199a6]:hover{background-color:#0050a0}.el-header[data-v-0f6ae04d]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-0f6ae04d]{color:#333}.pagination[data-v-0f6ae04d]{margin-top:16px;text-align:right}.header-button-item[data-v-0f6ae04d]{margin-right:15px;font-size:20px}.red-title[data-v-0f6ae04d]{line-height:24px;font-size:18px;color:red}.backtop[data-v-0f6ae04d]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-0f6ae04d]{width:100%;text-align:left}.backtop[data-v-0f6ae04d]:hover{background-color:#0050a0}.el-header[data-v-757b793e]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-757b793e]{color:#333}.pagination[data-v-757b793e]{margin-top:16px;text-align:right}.header-button-item[data-v-757b793e]{margin-right:15px;font-size:20px}.red-title[data-v-757b793e]{line-height:24px;font-size:18px;color:red}.backtop[data-v-757b793e]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-757b793e]{width:100%;text-align:left}.backtop[data-v-757b793e]:hover{background-color:#0050a0}.el-header[data-v-148800bf]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-148800bf]{color:#333}.pagination[data-v-148800bf]{margin-top:16px;text-align:right}.header-button-item[data-v-148800bf]{margin-right:15px;font-size:20px}.red-title[data-v-148800bf]{line-height:24px;font-size:18px;color:red}.backtop[data-v-148800bf]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-148800bf]{width:100%;text-align:left}.backtop[data-v-148800bf]:hover{background-color:#0050a0}.button-container[data-v-bdbc2b14]{position:fixed;bottom:0;right:0;margin:16px}.container[data-v-19e0b810]{display:flex;justify-content:center;align-items:center;height:30vh}
.login-container[data-v-bca4874e]{background-color:#35495e;height:100%}.login-container .login-box[data-v-bca4874e]{width:400px;height:250px;background-color:#fff;border-radius:3px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 6px hsla(0,0%,100%,.5)}.login-container .login-box .form-login[data-v-bca4874e]{position:absolute;bottom:0;left:0;width:100%;box-sizing:border-box}.form-control[data-v-bca4874e]{flex:1}.avatar-box[data-v-bca4874e]{position:absolute;width:100%;top:-65px;left:0}.avatar-box .avatar[data-v-bca4874e]{width:120px;height:120px;border-radius:50%!important;box-shadow:0 0 6px #efefef}.layout-header-left-img[data-v-01e5f3f2]{height:50px}.layout-aside-container[data-v-4b966958]{width:200px;height:100%;border-right:1px solid #eaeaea}.left-aside-item[data-v-4b966958]{font-size:20px}.el-main{padding:20px 3px!important}.el-header[data-v-46ef4a22]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-46ef4a22]{color:#333}.pagination[data-v-46ef4a22]{margin-top:16px;text-align:right}.arrow-button[data-v-46ef4a22]{display:flex;align-items:center;justify-content:center;border:none;background-color:transparent;cursor:pointer}.custom-icon[data-v-46ef4a22]{font-size:24px;color:#f90;margin-right:6px}.arrow-button.disabled[data-v-46ef4a22]{pointer-events:none;opacity:.1}.el-header[data-v-02a31f58]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-02a31f58]{color:#333}.pagination[data-v-02a31f58]{margin-top:16px;text-align:right}.header-button-item[data-v-02a31f58]{margin-right:15px;font-size:20px}.backtop[data-v-02a31f58]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.backtop[data-v-02a31f58]:hover{background-color:#0050a0}.el-header[data-v-7c092017]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-7c092017]{color:#333}.pagination[data-v-7c092017]{margin-top:16px;text-align:right}.header-button-item[data-v-7c092017]{margin-right:15px;font-size:20px}.red-title[data-v-7c092017]{line-height:24px;font-size:18px;color:red}.backtop[data-v-7c092017]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-7c092017]{width:100%;text-align:left}.backtop[data-v-7c092017]:hover{background-color:#0050a0}.el-header[data-v-a107dfb4]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-a107dfb4]{color:#333}.pagination[data-v-a107dfb4]{margin-top:16px;text-align:right}.header-button-item[data-v-a107dfb4]{margin-right:15px;font-size:20px}.red-title[data-v-a107dfb4]{line-height:24px;font-size:18px;color:red}.backtop[data-v-a107dfb4]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-a107dfb4]{width:100%;text-align:left}.backtop[data-v-a107dfb4]:hover{background-color:#0050a0}.el-header[data-v-235749db]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-235749db]{color:#333}.pagination[data-v-235749db]{margin-top:16px;text-align:right}.header-button-item[data-v-235749db]{margin-right:15px;font-size:20px}.red-title[data-v-235749db]{line-height:24px;font-size:18px;color:red}.backtop[data-v-235749db]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-235749db]{width:100%;text-align:left}.backtop[data-v-235749db]:hover{background-color:#0050a0}.el-header[data-v-8ddb0a30]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-8ddb0a30]{color:#333}.pagination[data-v-8ddb0a30]{margin-top:16px;text-align:right}.header-button-item[data-v-8ddb0a30]{margin-right:15px;font-size:20px}.red-title[data-v-8ddb0a30]{line-height:24px;font-size:18px;color:red}.backtop[data-v-8ddb0a30]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-8ddb0a30]{width:100%;text-align:left}.backtop[data-v-8ddb0a30]:hover{background-color:#0050a0}.el-header[data-v-b9b1bb64]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-b9b1bb64]{color:#333}.pagination[data-v-b9b1bb64]{margin-top:16px;text-align:right}.header-button-item[data-v-b9b1bb64]{margin-right:15px;font-size:20px}.red-title[data-v-b9b1bb64]{line-height:24px;font-size:18px;color:red}.backtop[data-v-b9b1bb64]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-b9b1bb64]{width:100%;text-align:left}.backtop[data-v-b9b1bb64]:hover{background-color:#0050a0}.el-header[data-v-9644ceb6]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-9644ceb6]{color:#333}.pagination[data-v-9644ceb6]{margin-top:16px;text-align:right}.header-button-item[data-v-9644ceb6]{margin-right:15px;font-size:20px}.red-title[data-v-9644ceb6]{line-height:24px;font-size:18px;color:red}.backtop[data-v-9644ceb6]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-9644ceb6]{width:100%;text-align:left}.backtop[data-v-9644ceb6]:hover{background-color:#0050a0}.el-header[data-v-a681b584]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-a681b584]{color:#333}.pagination[data-v-a681b584]{margin-top:16px;text-align:right}.header-button-item[data-v-a681b584]{margin-right:15px;font-size:20px}.red-title[data-v-a681b584]{line-height:24px;font-size:18px;color:red}.backtop[data-v-a681b584]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-a681b584]{width:100%;text-align:left}.backtop[data-v-a681b584]:hover{background-color:#0050a0}.el-header[data-v-5137cc3f]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-5137cc3f]{color:#333}.pagination[data-v-5137cc3f]{margin-top:16px;text-align:right}.header-button-item[data-v-5137cc3f]{margin-right:15px;font-size:20px}.red-title[data-v-5137cc3f]{line-height:24px;font-size:18px;color:red}.backtop[data-v-5137cc3f]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.custom-textarea[data-v-5137cc3f]{width:100%;text-align:left}.backtop[data-v-5137cc3f]:hover{background-color:#0050a0}.button-container[data-v-5e91f022]{position:fixed;bottom:0;right:0;margin:16px}.container[data-v-030cc888]{display:flex;justify-content:center;align-items:center;height:30vh}
/*!
* Bootstrap v4.5.0 (https://getbootstrap.com/)
......
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/kwan.png"><title>kwan</title><link href="/css/app.80fd0ecb.css" rel="preload" as="style"><link href="/css/chunk-vendors.0bfa23eb.css" rel="preload" as="style"><link href="/js/app.348114fb.js" rel="preload" as="script"><link href="/js/chunk-vendors.533b9d47.js" rel="preload" as="script"><link href="/css/chunk-vendors.0bfa23eb.css" rel="stylesheet"><link href="/css/app.80fd0ecb.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but kwan doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.533b9d47.js"></script><script src="/js/app.348114fb.js"></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/kwan.png"><title>kwan</title><link href="/css/app.ccfdcd9a.css" rel="preload" as="style"><link href="/css/chunk-vendors.0bfa23eb.css" rel="preload" as="style"><link href="/js/app.7d325dba.js" rel="preload" as="script"><link href="/js/chunk-vendors.533b9d47.js" rel="preload" as="script"><link href="/css/chunk-vendors.0bfa23eb.css" rel="stylesheet"><link href="/css/app.ccfdcd9a.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but kwan doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.533b9d47.js"></script><script src="/js/app.7d325dba.js"></script></body></html>
\ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
......@@ -2,19 +2,19 @@ import axios from 'axios'
// 创建一个名为 ApiService 的对象,包含您的异步方法
const ApiService = {
async triplet(articleId) {
return await axios.get('http://43.139.90.182:8888/csdnArticleInfo/triplet?articleId=' + articleId)
return await axios.get('http://120.24.43.143:8888/csdnArticleInfo/triplet?articleId=' + articleId)
},
async syncMyBlog() {
return await axios.get('http://43.139.90.182:8888/csdnArticleInfo/syncMyBlog')
return await axios.get('http://120.24.43.143:8888/csdnArticleInfo/syncMyBlog')
},
async resetLikes() {
return await axios.get('http://43.139.90.182:8888/csdnArticleInfo/fixLikesStatus')
return await axios.get('http://120.24.43.143:8888/csdnArticleInfo/fixLikesStatus')
},
async allTriplet(articleIds) {
return await axios.post('http://43.139.90.182:8888/csdnArticleInfo/multiTriplet', articleIds)
return await axios.post('http://120.24.43.143:8888/csdnArticleInfo/multiTriplet', articleIds)
},
async onDelete(id) {
return await axios.get('http://43.139.90.182:8888/csdnArticleInfo/delete', {
return await axios.get('http://120.24.43.143:8888/csdnArticleInfo/delete', {
params: {
id: id,
},
......
......@@ -281,7 +281,7 @@ export default {
async addQuestion(addType) {
try {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/algorithmicProblem/add', {
const { data: res } = await axios.post('http://120.24.43.143:8888/algorithmicProblem/add', {
addType: addType,
questionName: this.form.questionName,
questionType: this.form.questionType,
......@@ -322,7 +322,7 @@ export default {
async editConfirm() {
try {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/algorithmicProblem/update', {
const { data: res } = await axios.post('http://120.24.43.143:8888/algorithmicProblem/update', {
id: this.currentRowId,
questionName: this.form.questionName,
questionType: this.form.questionType,
......@@ -352,7 +352,7 @@ export default {
async onDelete(id) {
this.dialogVisible = false
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/algorithmicProblem/delete', {
const { data: res } = await axios.get('http://120.24.43.143:8888/algorithmicProblem/delete', {
params: {
id: id,
},
......@@ -367,7 +367,7 @@ export default {
},
async getQuestionType() {
const { data: res } = await axios.get('http://43.139.90.182:8888/algorithmicProblem/questionType', { params: {} })
const { data: res } = await axios.get('http://120.24.43.143:8888/algorithmicProblem/questionType', { params: {} })
if (res.code === 200) {
this.options = res.result
//获取问题列表
......@@ -376,7 +376,7 @@ export default {
},
async getAllQuestionType() {
const { data: res } = await axios.get('http://43.139.90.182:8888/algorithmicProblem/allQuestionType', { params: {} })
const { data: res } = await axios.get('http://120.24.43.143:8888/algorithmicProblem/allQuestionType', { params: {} })
if (res.code === 200) {
this.allOptions = res.result
}
......@@ -384,7 +384,7 @@ export default {
async interviewPage() {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/algorithmicProblem/page', {
const { data: res } = await axios.get('http://120.24.43.143:8888/algorithmicProblem/page', {
params: {
page: this.currentPage,
pageSize: this.pageSize,
......@@ -409,7 +409,7 @@ export default {
},
async interviewRandom() {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/algorithmicProblem/random', { params: {} })
const { data: res } = await axios.get('http://120.24.43.143:8888/algorithmicProblem/random', { params: {} })
if (res.code === 200) {
this.randomAlgorithmic.questionName = res.result.questionName
this.randomAlgorithmic.leetcodeNumber = res.result.leetcodeNumber
......
......@@ -187,7 +187,7 @@ export default {
async addQuestion(addType) {
try {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/aphorismPoetry/add', {
const { data: res } = await axios.post('http://120.24.43.143:8888/aphorismPoetry/add', {
addType: addType,
poetryText: this.form.poetryText,
......@@ -222,7 +222,7 @@ export default {
async editConfirm() {
try {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/aphorismPoetry/update', {
const { data: res } = await axios.post('http://120.24.43.143:8888/aphorismPoetry/update', {
id: this.currentRowId,
poetryText: this.form.poetryText,
})
......@@ -245,7 +245,7 @@ export default {
async onDelete(id) {
this.dialogVisible = false
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/aphorismPoetry/delete', {
const { data: res } = await axios.get('http://120.24.43.143:8888/aphorismPoetry/delete', {
params: {
id: id,
},
......@@ -260,7 +260,7 @@ export default {
},
async interviewPage() {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/aphorismPoetry/page', {
const { data: res } = await axios.get('http://120.24.43.143:8888/aphorismPoetry/page', {
params: {
page: this.currentPage,
pageSize: this.pageSize,
......@@ -275,7 +275,7 @@ export default {
},
async interviewRandom() {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/aphorismPoetry/random', { params: {} })
const { data: res } = await axios.get('http://120.24.43.143:8888/aphorismPoetry/random', { params: {} })
if (res.code === 200) {
this.randomAlgorithmic.poetryText = res.result.poetryText
}
......
......@@ -385,7 +385,7 @@ export default {
async addUser(addType) {
try {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/csdnArticleInfo/add', {
const { data: res } = await axios.post('http://120.24.43.143:8888/csdnArticleInfo/add', {
addType: addType,
userName: this.form.userName,
articleId: this.form.articleId,
......@@ -416,7 +416,7 @@ export default {
async editConfirm() {
try {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/csdnArticleInfo/update', {
const { data: res } = await axios.post('http://120.24.43.143:8888/csdnArticleInfo/update', {
id: this.currentRowId,
articleId: this.form.articleId,
userName: this.form.userName,
......@@ -443,7 +443,7 @@ export default {
},
async getScore() {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/csdnArticleInfo/getScore?articleUrl=' + this.form.articleUrl)
const { data: res } = await axios.get('http://120.24.43.143:8888/csdnArticleInfo/getScore?articleUrl=' + this.form.articleUrl)
if (res.code === 200) {
this.form.articleScore = res.result
} else {
......@@ -517,7 +517,7 @@ export default {
},
async articleInfoPage() {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/csdnArticleInfo/page', {
const { data: res } = await axios.post('http://120.24.43.143:8888/csdnArticleInfo/page', {
page: this.currentPage,
pageSize: this.pageSize,
articleId: this.formInline.articleId,
......
......@@ -89,7 +89,7 @@ export default {
methods: {
async onDelete(id) {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/chatbot/delete', {
const { data: res } = await axios.get('http://120.24.43.143:8888/chatbot/delete', {
params: {
id: id,
},
......@@ -109,7 +109,7 @@ export default {
async initCartList() {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/chatbot/page', {
const { data: res } = await axios.get('http://120.24.43.143:8888/chatbot/page', {
params: {
page: this.currentPage,
pageSize: this.pageSize,
......
......@@ -413,7 +413,7 @@ export default {
async addUser(addType) {
try {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/csdn/user/add', {
const { data: res } = await axios.post('http://120.24.43.143:8888/csdn/user/add', {
addType: addType,
userName: this.form.userName,
nickName: this.form.nickName,
......@@ -446,7 +446,7 @@ export default {
async editConfirm() {
try {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/csdn/user/update', {
const { data: res } = await axios.post('http://120.24.43.143:8888/csdn/user/update', {
id: this.currentRowId,
userName: this.form.userName,
nickName: this.form.nickName,
......@@ -479,7 +479,7 @@ export default {
console.error('请选择需要处理的项')
} else {
let userNames = this.multipleSelection.map((item) => item.userName)
const { data: res } = await axios.post('http://43.139.90.182:8888/csdn/multiTriplet', userNames)
const { data: res } = await axios.post('http://120.24.43.143:8888/csdn/multiTriplet', userNames)
if (res.code === 200) {
this.multipleSelection = []
this.userPage()
......@@ -492,7 +492,7 @@ export default {
async triplet(userName) {
this.loading = true
this.tripletVisible = false
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/singleTriplet?username=' + userName)
const { data: res } = await axios.get('http://120.24.43.143:8888/csdn/singleTriplet?username=' + userName)
if (res.code === 200) {
this.currentUserName = null
this.userPage()
......@@ -504,7 +504,7 @@ export default {
async fixUserLikesStatus() {
this.loading = true
this.resetLikesCommentDialogVisible = false
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/user/fixUserLikesStatus')
const { data: res } = await axios.get('http://120.24.43.143:8888/csdn/user/fixUserLikesStatus')
if (res.code === 200) {
this.userPage()
} else {
......@@ -515,7 +515,7 @@ export default {
async onBlog10(userName) {
this.loading = true
this.blog10DialogVisible = false
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/user/add10Blog?username=' + userName)
const { data: res } = await axios.get('http://120.24.43.143:8888/csdn/user/add10Blog?username=' + userName)
if (res.code === 200) {
this.currentUserName = null
this.userPage()
......@@ -527,7 +527,7 @@ export default {
async resetUserDayStatus(userName) {
this.loading = true
this.resetUserDayStatusVisible = false
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/user/resetCsdnUserInfo?username=' + userName)
const { data: res } = await axios.get('http://120.24.43.143:8888/csdn/user/resetCsdnUserInfo?username=' + userName)
if (res.code === 200) {
this.currentUserName = null
this.userPage()
......@@ -538,7 +538,7 @@ export default {
},
async onDelete(id) {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/user/delete', {
const { data: res } = await axios.get('http://120.24.43.143:8888/csdn/user/delete', {
params: {
id: id,
},
......@@ -554,7 +554,7 @@ export default {
},
async userPage() {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/csdn/user/page', {
const { data: res } = await axios.post('http://120.24.43.143:8888/csdn/user/page', {
page: this.currentPage,
pageSize: this.pageSize,
userName: this.formInline.userName,
......@@ -628,7 +628,7 @@ export default {
async autoReply() {
this.loading = true
this.autoReplyDialogVisible = false
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/autoReply')
const { data: res } = await axios.get('http://120.24.43.143:8888/csdn/autoReply')
if (res.code === 200) {
this.userPage()
} else {
......
......@@ -205,7 +205,7 @@ export default {
try {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/interviewQuestion/add', {
const { data: res } = await axios.post('http://120.24.43.143:8888/interviewQuestion/add', {
addType: addType,
question: this.form.question,
questionType: this.form.questionType,
......@@ -237,7 +237,7 @@ export default {
try {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/interviewQuestion/update', {
const { data: res } = await axios.post('http://120.24.43.143:8888/interviewQuestion/update', {
id: this.currentRowId,
question: this.form.question,
questionType: this.form.questionType,
......@@ -262,7 +262,7 @@ export default {
async onDelete(id) {
this.dialogVisible = false
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/interviewQuestion/delete', {
const { data: res } = await axios.get('http://120.24.43.143:8888/interviewQuestion/delete', {
params: {
id: id,
},
......@@ -278,7 +278,7 @@ export default {
},
async getQuestionType() {
const { data: res } = await axios.get('http://43.139.90.182:8888/interviewQuestion/questionType', { params: {} })
const { data: res } = await axios.get('http://120.24.43.143:8888/interviewQuestion/questionType', { params: {} })
if (res.code === 200) {
this.options = res.result
this.interviewPage()
......@@ -287,7 +287,7 @@ export default {
async interviewPage() {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/interviewQuestion/page', {
const { data: res } = await axios.get('http://120.24.43.143:8888/interviewQuestion/page', {
params: {
page: this.currentPage,
pageSize: this.pageSize,
......
......@@ -185,7 +185,7 @@ export default {
},
async messagePage() {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/csdn/message/page', {
const { data: res } = await axios.post('http://120.24.43.143:8888/csdn/message/page', {
page: this.currentPage,
pageSize: this.pageSize,
userName: this.formInline.userName,
......@@ -209,7 +209,7 @@ export default {
async dealMessageOne(userName) {
this.loading = true
this.dealMessageOneVisible = false
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/message/dealMessageOne?userName=' + userName)
const { data: res } = await axios.get('http://120.24.43.143:8888/csdn/message/dealMessageOne?userName=' + userName)
if (res.code === 200) {
this.currentUserName = null
this.messagePage()
......@@ -222,13 +222,13 @@ export default {
async messageDeal() {
this.loading = true
this.messageDialogVisible = false
const { data: res1 } = await axios.get('http://43.139.90.182:8888/csdn/message/dealMessage')
const { data: res1 } = await axios.get('http://120.24.43.143:8888/csdn/message/dealMessage')
if (res1.code === 200) {
this.messagePage()
} else {
console.error('Received non-200 status code', res1)
}
const { data: res2 } = await axios.get('http://43.139.90.182:8888/csdn/likeCollect/dealLikeCollect')
const { data: res2 } = await axios.get('http://120.24.43.143:8888/csdn/likeCollect/dealLikeCollect')
if (res2.code === 200) {
this.messagePage()
} else {
......@@ -239,7 +239,7 @@ export default {
async refreshMessage() {
this.loading = true
this.refreshMessageDialogVisible = false
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/message/acquireMessage')
const { data: res } = await axios.get('http://120.24.43.143:8888/csdn/message/acquireMessage')
if (res.code === 200) {
this.messagePage()
} else {
......@@ -249,7 +249,7 @@ export default {
},
async onDelete(id) {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/user/delete', {
const { data: res } = await axios.get('http://120.24.43.143:8888/csdn/user/delete', {
params: {
id: id,
},
......
......@@ -106,7 +106,7 @@ export default {
},
async queryPic() {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/picInfo/page', {
const { data: res } = await axios.get('http://120.24.43.143:8888/picInfo/page', {
params: {
page: this.currentPage,
pageSize: this.pageSize,
......
......@@ -220,7 +220,7 @@ export default {
},
async redPackagePage() {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/csdn/redPackage/page', {
const { data: res } = await axios.post('http://120.24.43.143:8888/csdn/redPackage/page', {
page: this.currentPage,
pageSize: this.pageSize,
nickName: this.formInline.nickName,
......@@ -238,7 +238,7 @@ export default {
async dealViewCount(id) {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/redPackage/getViewCountById?id=' + id)
const { data: res } = await axios.get('http://120.24.43.143:8888/csdn/redPackage/getViewCountById?id=' + id)
if (res.code === 200) {
this.redPackagePage()
} else {
......@@ -250,7 +250,7 @@ export default {
async editConfirm() {
try {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/csdn/redPackage/update', {
const { data: res } = await axios.post('http://120.24.43.143:8888/csdn/redPackage/update', {
id: this.currentRowId,
nickName: this.form.nickName,
myAmount: this.form.myAmount,
......@@ -277,7 +277,7 @@ export default {
async viewCountAll() {
this.loading = true
this.viewCountAllDialogVisible = false
const { data: res1 } = await axios.get('http://43.139.90.182:8888/csdn/redPackage/getViewCountAll')
const { data: res1 } = await axios.get('http://120.24.43.143:8888/csdn/redPackage/getViewCountAll')
if (res1.code === 200) {
this.redPackagePage()
} else {
......@@ -286,7 +286,7 @@ export default {
this.loading = false
},
async getToday() {
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/redPackage/getMyAmount')
const { data: res } = await axios.get('http://120.24.43.143:8888/csdn/redPackage/getMyAmount')
if (res.code === 200) {
this.form.todayGet = res.result.todayGet
this.form.allGet = res.result.allGet
......@@ -296,7 +296,7 @@ export default {
},
async onDelete(id) {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/csdn/user/delete', {
const { data: res } = await axios.get('http://120.24.43.143:8888/csdn/user/delete', {
params: {
id: id,
},
......
......@@ -176,7 +176,7 @@ export default {
},
async tripletDayInfoPage() {
this.loading = true
const { data: res } = await axios.post('http://43.139.90.182:8888/dayInfo/page', {
const { data: res } = await axios.post('http://120.24.43.143:8888/dayInfo/page', {
page: this.currentPage,
pageSize: this.pageSize,
startDate: this.formInline.startDate,
......@@ -215,7 +215,7 @@ export default {
},
async reset() {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/dayInfo/add')
const { data: res } = await axios.get('http://120.24.43.143:8888/dayInfo/add')
this.resetDialogVisible = false
this.tripletDayInfoPage()
this.loading = false
......
......@@ -160,7 +160,7 @@ export default {
},
async interviewRandom() {
this.loading = true
const { data: res } = await axios.get('http://43.139.90.182:8888/aphorismPoetry/random')
const { data: res } = await axios.get('http://120.24.43.143:8888/aphorismPoetry/random')
if (res.code === 200) {
this.randomAlgorithmic.poetryText = res.result.poetryText
}
......
......@@ -42,7 +42,7 @@ export default {
response: this.form.response,
}
axios
.post('http://43.139.90.182:8888/chatbot', data)
.post('http://120.24.43.143:8888/chatbot', data)
.then((response) => {
// 只要请求回来的数据,在页面渲染期间要用到,则必须转存到 data 中
if (response.data.code === 200) {
......
......@@ -67,7 +67,7 @@ export default {
// 封装请求列表数据的方法
async initChatList() {
// 调用 axios 的 get 方法,请求列表数据
const { data: res } = await axios.get('http://43.139.90.182:8888/chatbot/' + this.id)
const { data: res } = await axios.get('http://120.24.43.143:8888/chatbot/' + this.id)
// 只要请求回来的数据,在页面渲染期间要用到,则必须转存到 data 中
if (res.code === 200) {
this.list = [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册