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:
@@ -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
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user