You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
563 B

  1. package com.xm;
  2. import org.springframework.boot.SpringApplication;
  3. import org.springframework.cloud.client.SpringCloudApplication;
  4. import org.springframework.context.annotation.ComponentScan;
  5. import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
  6. import org.springframework.stereotype.Component;
  7. @SpringCloudApplication
  8. @EnableRedisHttpSession
  9. @ComponentScan(basePackages={"com.mdp"})
  10. public class XmApplication {
  11. public static void main(String[] args) {
  12. SpringApplication.run(XmApplication.class,args);
  13. }
  14. }