去除final使用@Autowired
This commit is contained in:
@@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.CrossOrigin;
|
||||
@Component
|
||||
@CrossOrigin
|
||||
@Slf4j
|
||||
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
|
||||
|
||||
@RocketMQMessageListener(topic = "${lili.data.rocketmq.other-topic}", consumerGroup = "${lili.data.rocketmq.other-group}")
|
||||
public class MessageSendListener implements RocketMQListener<MessageExt> {
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.springframework.security.config.annotation.web.configurers.Expression
|
||||
@Slf4j
|
||||
@Configuration
|
||||
@EnableGlobalMethodSecurity(prePostEnabled = true)
|
||||
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
|
||||
|
||||
public class ScoketSecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user