|
|
@@ -6,9 +6,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
import org.springframework.scheduling.annotation.EnableAsync;
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
|
|
-import javax.annotation.PostConstruct;
|
|
|
-import java.util.TimeZone;
|
|
|
-
|
|
|
@EnableAsync
|
|
|
@EnableScheduling
|
|
|
@MapperScan("com.mokamrp.privates.mapper")
|
|
|
@@ -17,9 +14,4 @@ public class PrivateServerStart {
|
|
|
public static void main(String[] args) {
|
|
|
SpringApplication.run(PrivateServerStart.class, args);
|
|
|
}
|
|
|
-
|
|
|
- @PostConstruct
|
|
|
- void started() {
|
|
|
- TimeZone.setDefault(TimeZone.getTimeZone("Asia/Shanghai"));
|
|
|
- }
|
|
|
}
|