JH 10 months ago
commit e684121298

@ -3,6 +3,7 @@ package com.luoo.comment;
import java.net.InetAddress;
import java.net.UnknownHostException;
import com.spring4all.mongodb.EnableMongoPlus;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
@ -16,6 +17,7 @@ import org.springframework.core.env.Environment;
import util.IdWorker;
@EnableMongoPlus
@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient

@ -1,5 +1,6 @@
package com.luoo.music;
import com.spring4all.mongodb.EnableMongoPlus;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
@ -18,6 +19,8 @@ import util.JwtUtil;
import java.net.InetAddress;
import java.net.UnknownHostException;
@EnableMongoPlus
@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient

@ -2,6 +2,7 @@ package com.luoo.user;
import java.net.InetAddress;
import java.net.UnknownHostException;
import com.spring4all.mongodb.EnableMongoPlus;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
@ -15,6 +16,7 @@ import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import util.IdWorker;
import util.JwtUtil;
@EnableMongoPlus
@SpringBootApplication
@EnableEurekaClient
@EnableJpaAuditing

Loading…
Cancel
Save