server: port: '${framework.server.port}' host: '${framework.server.host}' nutz: profiles: active: dev application: name: '${framework.nutz.application.name}' mvc: ignore: ^(.+[.])(jsp|png|gif|jpg|js|css|jspx|jpeg|html|mp3|mp4|ico|svg|vue)$ exclusions: /favicon/*,/assets/*,/druid/*,/upload/*,/components/* spdb: bab7: url: '${custom.spdb.bab7.url}' sm4cbc: keyHex: '${custom.sm4cbc.keyHex}' ivHex: '${custom.sm4cbc.ivHex}' tomcat: contextPath: '${framework.tomcat.contextPath}' # 容器错误响应不披露版本;Session Cookie 保持 HttpOnly。 session: cookie: httponly: true executor: maxIdleTime: 60000 minSpareThreads: 10 maxThreads: 500 page: 403: /__container_error 404: /__container_error 500: /__container_error #结合ftp使用,或用nginx代理ftp路径 #staticPath: /Users/wizzer/temp/files #开发模式静态资源 staticPathLocal: '${framework.tomcat.staticPathLocal}' security: tokenName: saToken timeout: 36000 # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录) # 允许同一账号并发登录,则系统参数 SessionOnlyOne 有效,亦可踢人下线并多了弹框提示功能 isConcurrent: true # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token) isShare: false wxwork: enable: '${sdk.wxwork.enable}' corpId: '${sdk.wxwork.corpId}' corpSecret: '${sdk.wxwork.corpSecret}' agentId: '${sdk.wxwork.agentId}' redirectUri: '${sdk.wxwork.redirectUri}' wx: enable: '${sdk.wx.enable}' appID: '${sdk.wx.appID}' appSecret: '${sdk.wx.appSecret}' redirectUri: '${sdk.wx.redirectUri}' cas: enable: '${sdk.cas.enable}' server-url-prefix: '${sdk.cas.server-url-prefix}' server-login-url: '${sdk.cas.server-login-url}' qi-wx-server-login-url: '${sdk.cas.qi-wx-server-login-url}' client-host-url: '${sdk.cas.client-host-url}' client-call-back-url: '${sdk.cas.client-call-back-url}' validation-type: '${sdk.cas.validation-type}' redis: host: '${framework.redis.host}' port: '${framework.redis.port}' timeout: 2000 max_redir: 10 database: '${framework.redis.database}' maxTotal: 850 pool: maxTotal: 900 maxIdle: 500 minIdle: 50 mode: '${framework.redis.mode}' jdbc: url: '${framework.jdbc.url}' username: '${framework.jdbc.username}' password: '${framework.jdbc.password}' validationQuery: select 1 maxActive: 1000 testWhileIdle: true connectionProperties: druid.stat.slowSqlMillis=2000 defaultAutoCommit: true xsssql: ignore: urls: /platform/cms/content/article/addDo,/platform/sys/app/conf/addDo,/platform/sys/app/conf/editDo beetl: RESOURCE: #本地路径,开发时设置本地路径,便于调试 rootLocal: '${framework.beetl.RESOURCE.rootLocal}' root: views/ DELIMITER_STATEMENT_START: "" FT: #用法: ${"wizzer",escape} escape: com.budwk.app.web.commons.ext.beetl.HtmlEscapeFormat #用法: ${10241024,filesize} filesize: com.budwk.app.web.commons.ext.beetl.FileSizeFormat #用法: ${"",html2txt="100"} 截取100字符 html2txt: com.budwk.app.web.commons.ext.beetl.Html2TxtFormat #用法: ${"",strlen="100"} 截取100字符 strlen: com.budwk.app.web.commons.ext.beetl.StrlenFormat #============================================================== #Configure Main Scheduler Properties #============================================================== #quartz延迟启动秒数 quartz: startupDelay: 10 scheduler: instanceName: defaultScheduler instanceId: AUTO #============================================================== #Skip Check Update #update:true #not update:false #============================================================== skipUpdateCheck: true #============================================================== #Configure JobStore isClustered=启用集群模式 #============================================================== jobStore: class: org.quartz.impl.jdbcjobstore.JobStoreTX driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate #driverDelegateClass: org.quartz.impl.jdbcjobstore.PostgreSQLDelegate #driverDelegateClass: org.quartz.impl.jdbcjobstore.oracle.OracleDelegate #Other delegates can see: http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/tutorial-lesson-09.html dataSource: myDS tablePrefix: SYS_QRTZ_ isClustered: false clusterCheckinInterval: 20000 maxMisfiresToHandleAtATime: 120 misfireThreshold: 120000 txIsolationLevelSerializable: false #============================================================== #Configure ThreadPool #============================================================== threadPool: class: org.quartz.simpl.SimpleThreadPool threadCount: 2 threadPriority: 5 threadsInheritContextClassLoaderOfInitializingThread: true #============================================================================ # Configure Plugins #============================================================================ plugin: triggHistory: class: org.quartz.plugins.history.LoggingJobHistoryPlugin shutdownhook: class: org.quartz.plugins.management.ShutdownHookPlugin cleanShutdown: true #============================================================================ # NutDao dataSource #============================================================================ dataSource: myDS: connectionProvider: class: com.budwk.app.task.conn.NutConnectionProvider minio: accessKey: '${sdk.minio.accessKey}' secretKey: '${sdk.minio.secretKey}' endPoint: '${sdk.minio.endPoint}' bucket: '${sdk.minio.bucket}' data-center: token-enabled: '${custom.data-center.token-enabled}' grant_type: '${custom.data-center.grant_type}' scope: '${custom.data-center.scope}' username: '${custom.data-center.username}' password: '${custom.data-center.password}' token-url: '${custom.data-center.token-url}' urls: teacher: '${custom.data-center.urls.teacher}' unit: '${custom.data-center.urls.unit}' msg: platform: enabled: '${custom.msg.platform.enabled}' # true 使用 v3 智能推送,false 使用 v4 短信及微信独立发送(浙师大消息平台) IntelligenceMode: '${custom.msg.platform.IntelligenceMode}' # 浙江师范大学通讯平台基础地址,默认对接正式地址 base-url: '${custom.msg.platform.base-url}' # 授权系统名称,对应文档中的 tp_name tp-name: '${custom.msg.platform.tp-name}' # 便捷发送方法默认发送人工号,controller 只传接收人和内容时会读取这里 default-send-user-id: '${custom.msg.platform.default-send-user-id}' # 便捷发送方法默认发送人姓名,controller 只传接收人和内容时会读取这里 default-send-user-name: '${custom.msg.platform.default-send-user-name}' # 便捷发送方法默认发送机构ID,可不填 default-send-unit-id: '${custom.msg.platform.default-send-unit-id}' # 便捷发送方法默认发送机构名称,可不填 default-send-unit-name: '${custom.msg.platform.default-send-unit-name}' # 便捷发送方法默认签名,可不填 default-send-user-sign: '${custom.msg.platform.default-send-user-sign}' #短信中如果不包含链接和电话,可以使用公共模板ID: default-template-id: '${custom.msg.platform.default-template-id}' # 原始密钥,未提前加密时可直接填这里,程序会按 Base64 后 SHA 自动计算 secret_key raw-secret-key: '${custom.msg.platform.raw-secret-key}' # 如果对方已经提供了可直接使用的 secret_key,也可以直接配置该值,优先级高于 raw-secret-key encrypted-secret-key: '${custom.msg.platform.encrypted-secret-key}' # HTTP连接超时时间,单位毫秒 connect-timeout: '${custom.msg.platform.connect-timeout}' # HTTP读取超时时间,单位毫秒 read-timeout: '${custom.msg.platform.read-timeout}'