zhouhao 238fe0a1a9 3.0.1 %!s(int64=6) %!d(string=hai) anos
..
src 7bc521f182 增加了关闭系统初始化的功能,可以通过设置hsweb.app.auto-init=false来关闭启动时自动初始化. %!s(int64=6) %!d(string=hai) anos
README.md e63cb07adf 增加starter的说明 %!s(int64=6) %!d(string=hai) anos
pom.xml 238fe0a1a9 3.0.1 %!s(int64=6) %!d(string=hai) anos

README.md

应用基本信息配置

hsweb:
    app:
      name: my-application
      comment: 我的应用
      version: 1.0.0
      auto-init: true # 启动服务时进行初始化(执行classpath*:/hsweb-starter.js)

跨域设置

修改application.yml

hsweb: 
    cors:
      enable: true
      allowed-headers: "*"
      allowed-methods: "*"
      allowed-origins: "*"
      allow-credentials: true
      max-age: 14400

json序列化配置

fastjson:
    features: WriteNullListAsEmpty,WriteNullNumberAsZero,WriteNullBooleanAsFalse