fix: 更新API端点IP地址从192.168.15.56到192.168.15.60

将多个API请求的IP地址从192.168.15.56更新为192.168.15.60,确保应用连接到正确的后端服务
This commit is contained in:
2025-08-22 10:04:17 +08:00
parent 350a065863
commit 8b63ab6123
3 changed files with 5 additions and 5 deletions

View File

@@ -122,7 +122,7 @@ const formatDueDate = (dateStr) => {
// 获取任务列表
const getTaskList = async () => {
try {
const res = await axios.post('http://192.168.15.56:8890/api/v1/level_five/overview/view_tasks', {}, {
const res = await axios.post('http://192.168.15.60:8890/api/v1/level_five/overview/view_tasks', {}, {
headers: {
'Authorization': 'Bearer ' + localStorage.getItem('token')
}
@@ -149,7 +149,7 @@ const changeTaskStatus = (task) => {
// 修改任务状态 http://192.168.15.56:8890/api/v1/level_four/overview/update_task_state
const updateTaskState = async (taskId, state) => {
try {
const res = await axios.put('http://192.168.15.56:8890/api/v1/level_four/overview/update_task_state', {
const res = await axios.put('http://192.168.15.60:8890/api/v1/level_four/overview/update_task_state', {
task_ids: [taskId],
new_state: state
}, {