ke00ke

Results 4 comments of ke00ke

最近在学习你的项目,请问你有没遇到token问题,就是cookie只能获取到jsessionid不能获取到自定义的token。虽然作为入门者,还是推荐使用pom中设置环境profiles参数,在yml中使用active: ‘@spring.profiles.active@’方式进行环境切换,也方便打包。

pom中: src/main/java **/*.xml src/main/resources **/*.* true org.springframework.boot spring-boot-maven-plugin @ dev dev test test yml中: spring: profiles: active: '@spring.profiles.active@' --- eureka: client: service-url: defaultZone: http://192.168.1.104:8084/eureka

试验了一下, 内部类属性 List会有序列化异常的问题, JSON.toJsonString 设置有问题.