# 服务配置 server: port: 6400 contextPath: / # 使用数据库 enableDatabase: true # 服务域名或者IP 生成二维码链接时需要 domainName: http://127.0.0.1:6401 # 反向代理服务器配置路径(不用加后缀) proxyConf: server-proxy # vertx核心线程配置(一般无需改的), 为0表示eventLoopPoolSize将会采用默认配置(CPU核心*2) workerPoolSize将会采用默认20 vertx: eventLoopPoolSize: 0 workerPoolSize: 0 # vertx-service配置(一般无需改的) custom: # 异步服务线程数 asyncServiceInstances: 4 # server路由(controller层)所在包路径 baseLocations: cn.qaiu.lz # 路由处理默认超时时间(毫秒) routeTimeOut: 15000 # 拦截器匹配规则 ignoresReg: - /v2/statisticsInfo - .*/test.*$ # 参数注入的实体类包路径匹配正则 (防止同名类引发歧义) entityPackagesReg: - ^cn\.qaiu\.lz\.web\.model\..* # 数据源配置 dataSource: #jdbcUrl: jdbc:mysql://127.0.0.1:3306/nfddata?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false jdbcUrl: jdbc:h2:file:./db/nfdData1;MODE=MySQL;DATABASE_TO_UPPER=FALSE username: root password: '123456' # 直链缓存相关配置 cache: # 该配置未使用,后续加入其他Cache实现时,区分类型 type: h2db # 默认时长: 单位分钟,大部分网盘未严格验证,建议不要太大 defaultDuration: 59 # 具体网盘的缓存配置,如果不加配置则不缓存,每次请求都会请求网盘API,格式:网盘标识: 时长 duration: # ce: 5 # cow: # ec: 5 # fc: # fj: 20 # iz: 20 # le: 2879 # lz: 20 # qq: 9999999 # ws: 10 # ye: -1 # mne: 30 # mqq: 30 # mkg: 30 # p115: 5 # httpClient静态代理服务器配置(外网代理) proxy: # - panTypes: pgd,pdb,pod # type: http # 支持http/socks4/socks5 # host: 127.0.0.1 # port: 7890 # username: # password: # 代理池配置 #ip-pool: # api-url: