|
@@ -17,6 +17,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.springframework.context.annotation.Lazy;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
@@ -37,8 +38,8 @@ import static com.xy.utils.Beans.copy;
|
|
|
*/
|
|
|
@Slf4j
|
|
|
@Service
|
|
|
-@AllArgsConstructor
|
|
|
@Api(tags = "mqtt认证")
|
|
|
+@AllArgsConstructor(onConstructor_ = @Lazy)
|
|
|
public class MqttUserServiceImpl extends ServiceImpl<MqttUserMapper, MqttUser> implements MqttUserService {
|
|
|
|
|
|
private DeviceInfoServiceImpl deviceInfoService;
|