v1.1: 循环依赖修复
This commit is contained in:
@@ -46,6 +46,7 @@ import org.elasticsearch.script.Script;
|
||||
import org.elasticsearch.search.sort.*;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.util.HtmlUtils;
|
||||
|
||||
@@ -106,6 +107,7 @@ public class RoomSearchService extends BaseService {
|
||||
private static final Integer SEARCH_TYPE_USER = 2;
|
||||
|
||||
@Autowired
|
||||
@Lazy
|
||||
private UserBlackRecordService userBlackRecordService;
|
||||
|
||||
/**
|
||||
|
@@ -41,6 +41,7 @@ import com.github.pagehelper.PageHelper;
|
||||
import org.apache.commons.collections.CollectionUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Service;
|
||||
import redis.clients.jedis.Response;
|
||||
@@ -86,6 +87,7 @@ public class UserInRoomService extends BaseService {
|
||||
private UsersService usersService;
|
||||
|
||||
@Autowired
|
||||
@Lazy
|
||||
private UserBlackRecordService userBlackRecordService;
|
||||
|
||||
public RoomVo userIntoRoomV2(Long uid, Long roomUid, Long inviteUid, Byte behaveType, DeviceInfo deviceInfo){
|
||||
|
Reference in New Issue
Block a user