mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 19:36:50 +08:00
多余代码删除
This commit is contained in:
@@ -24,7 +24,4 @@ public class Result {
|
||||
private int totalPage;
|
||||
private List<AuditList> list;
|
||||
|
||||
public static Object error(String s) {
|
||||
return "500 服务异常";
|
||||
}
|
||||
}
|
||||
@@ -324,12 +324,6 @@ public class StudyCourseApi extends ApiBaseController{
|
||||
if (StringUtils.isEmpty(token)) {
|
||||
token = request.getHeader("token");
|
||||
}
|
||||
StudyCourseApi example = new StudyCourseApi();
|
||||
for (int i = 0; i < 10; i++) {
|
||||
new Thread(() -> example.someApi()).start();
|
||||
//检查是否已存在
|
||||
}
|
||||
|
||||
StudyCourseItem item = studyService.checkHas(sci.getStudyId(),sci.getContentId());
|
||||
if(item!=null) {
|
||||
String studyKey = CacheName.NAME_AUTH + ":" + CacheName.STUDY_KEY + item.getCourseId()+":"+cuser.getAccountId()+":"+item.getContentId();
|
||||
|
||||
Reference in New Issue
Block a user