1. 添加对Redis连接失败异常的捕获,尝试分析Redis连接失败原因
2. 在配置文件dev和test中添加Redis密码
(cherry picked from commit 9d8c1488c9)
This commit is contained in:
@@ -182,7 +182,7 @@ public class TaskController implements TaskControllerApi {
|
||||
}
|
||||
}
|
||||
if (!errorIds.isEmpty()) {
|
||||
return new ResponseResult(400, "id or status is invalid")
|
||||
return ResponseResult.invalid()
|
||||
.setData("tasks_id", errorIds)
|
||||
.setData("success", false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user