mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-08 02:16:49 +08:00
多余代码删除
This commit is contained in:
@@ -84,11 +84,6 @@
|
||||
<artifactId>xboe-module-es</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.jodah</groupId>
|
||||
<artifactId>expiringmap</artifactId>
|
||||
<version>0.5.10</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>it.sauronsoftware</groupId>
|
||||
<artifactId>jave</artifactId>
|
||||
|
||||
@@ -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