zouxuan 3 سال پیش
والد
کامیت
6edb003be5

+ 0 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/ImGroupServiceImpl.java

@@ -38,7 +38,6 @@ public class ImGroupServiceImpl extends BaseServiceImpl<Long, ImGroup> implement
 	private ImGroupNoticeDao imGroupNoticeDao;
 
 	@Autowired
-	@Lazy
 	private ImGroupMemberService imGroupMemberService;
 
 	@Autowired

+ 2 - 0
mec-teacher/src/main/java/com/ym/mec/teacher/controller/ImGroupController.java

@@ -8,6 +8,7 @@ import java.util.stream.Collectors;
 
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.context.annotation.Lazy;
 import org.springframework.http.HttpStatus;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
@@ -28,6 +29,7 @@ import com.ym.mec.common.controller.BaseController;
 public class ImGroupController extends BaseController {
 
 	@Autowired
+	@Lazy
 	private ImGroupService imGroupService;
 
 	@Autowired