1、Long类型显示带逗号 如 id=1,234; 解决的方案是,增加配置 number_format: ‘#’ spring: profiles: active: '@profileActive@' application: name: blog-web freemarker: allow-request-override: false allow-session-override: false cache: false charset: UTF-8 check-template-location: true content-type: text/html enabled: true expose-request-attributes: false expose-session-attributes: false expose-spring-macro-helpers: true prefer-file-system-access: true suffix: .ftl template-loader-path: classpath:/templates/ settings: template_update_delay: 0 default_encoding: UTF-8 classic_compatible: true number_format: '#' 2、boolean……
阅读全文