1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- server:
- address: ":4040"
- dumpRouterMap: false # 是否在Server启动时打印所有的路由列表。默认为true
- graceful: true # 是否开启平滑重启特性,开启时将会在本地增加10000的本地TCP端口用于进程间通信。默认false
- gracefulTimeout: 10 # 平滑重启父进程最大存活时间。默认2秒
- reqDebug: true # 是否打印接口调用日志
- logger:
- level: "all"
- # stdout: true
- path: "logs" # 日志文件路径。默认为空,表示关闭,仅输出到终端
- file: "{Y-m-d}.log" # 日志文件格式。默认为"{Y-m-d}.log"
- database:
- default:
- link: "mysql:root:=PDT49#80Z!RVv52_z@tcp(192.168.3.14:4000)/jianyu"
- debug: true
- # 登录相关配置
- loginType: 1 # 税务系统登录方式【0 短信登录 1 扫码登录】
- #发票三方系统配置
- # 测试
- tripartite:
- #service: http://tongyutec.com.cn:18008
- service: http://127.0.0.1:18008
- clientId: e05e103340b4e0c5
- clientSecret: 1e805800c5eacd3e4ae835ab465a74c7
- #正式:
- #tripartite:
- # service: https://api.tongyutec.com.cn
- # clientId: e061913340b7f236
- # clientSecret: 048d69910897525f0e0e2855b3b0e94e
- # 公司税务发票系统账户
- company:
- name: "北京剑鱼信息技术有限公司"
- taxNum: "91110105MA020L9F6R"
- account: "13733157437" #登录账号
- password: "13733157437Ph" #登录密码
- hfr: "贺鹏飞" #发票复核人
- addr: "北京市朝阳区北辰西路69号19.5、20/20.5层3单元2011号"
- tel: "010-58772571"
- bank: "中国光大银行股份有限公司北京分行营业室"
- bankNum: "5000188000675662"
- taxCodeList: #开票项
- - name: "技术服务费"
- code: "65658fde58ab3c2b6e5132a39fae7cb9"
- - name: "会员费"
- code: "11b921ef080f7736089c757404650e40"
- - name: "招投标数据服务"
- code: "1bb91f73e9d31ea2830a5e73ce3ed328"
- # 发票三方系统配置-接口回调
- callBack:
- #flush: true #是否同步回调地址 默认false
- action: "https://www.jianyu360.cn/Invoice/callback"
- # 开票任务
- invoiceJob:
- stop: true # 是否停止任务(临时停止任务)
- cron: "# */2 9-18 * * *"
- notice:
- qwRobotUrl: "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=e7792e7a-159d-4419-b1ed-27ea19b6ea54" #扫码登录企业微信消息机器人接口
- unFinish: #未开票提醒
- hours: 24 #小时未开票提醒时间
- cron: "# 0 10 * * *" #每天10点发送未开票提示消息
- notice: ["WeiXin"]
- pdfFilePathRootDir: "./out"
- pdfFilePathPrefix: "jyInvoice" #即请求路径前缀,需要nginx配置location指向生成的pdf文件
- pdfFilePathDomain: "https://wky.jydev.jianyu360.com"
- mailConfig:
- - addr: "smtp.exmail.qq.com"
- port: 465
- pwd: "ue9Rg9Sf4CVtdm5a"
- user: "public03@topnet.net.cn"
- - addr: "smtp.exmail.qq.com"
- port: 465
- pwd: "ue9Rg9Sf4CVtdm5a"
- user: "public03@topnet.net.cn"
|