123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- # https://goframe.org/docs/web/server-config-file-template
- server:
- address: ":8000"
- dumpRouterMap: false # 是否在Server启动时打印所有的路由列表。默认为true
- graceful: true # 是否开启平滑重启特性,开启时将会在本地增加10000的本地TCP端口用于进程间通信。默认false
- gracefulTimeout: 10 # 平滑重启父进程最大存活时间。默认2秒
- # https://goframe.org/docs/core/glog-config
- logger:
- level: "all"
- path: "logs" # 日志文件路径。默认为空,表示关闭,仅输出到终端
- file: "{Y-m-d}.log" # 日志文件格式。默认为"{Y-m-d}.log"
- # https://goframe.org/docs/core/gdb-config-file
- database:
- default:
- link: "mysql:jianyu:Topnet123@tcp(172.20.45.129:4000)/jianyu"
- debug: true
- base:
- link: "mysql:jianyu:Topnet123@tcp(172.20.45.129:4000)/base_service"
- debug: false
- subject:
- link: "mysql:jianyu:Topnet123@tcp(172.20.45.129:4000)/Jianyu_subjectdb_test"
- debug: false
- cbs:
- link: "mysql:jianyu:Topnet123@tcp(172.20.45.129:4000)/jianyu"
- debug: false
- redis:
- default: # 配置seo的redis
- address: 127.0.0.1:6379
- other: # 广告位
- address: 127.0.0.1:6379
- session:
- address: 172.20.45.129:1713
- newother:
- address: 172.20.45.129:1712
- mongodb:
- default:
- address: "172.20.45.129:27002,172.20.45.130:27080"
- size: 5
- dbName: qfw
- replSet: ""
- userName: ""
- password: ""
- log:
- address: "192.168.3.149:27190"
- size: 5
- dbName: "qfw"
- replSet: ""
- userName: "admin"
- password: "123456"
- userCenterUrl: "https://jybx2-webtest.jydev.jianyu360.com"
- apiList:
- buyBalance: "http://172.31.31.205:8889/resources/purchaseUserBalance"
- etcd:
- hosts:
- - 172.31.31.203:2379
- userCenterKey: "usercenter.rpc" #用户中台rpc
- powerCheckCenterKey: "powercheck.rpc" #权益校验中台
- entManageApplication: "entmanageapplication.rpc" #企业管理中台
- protocolNotice:
- #cron: "0 */2 * * * ?" #定时任务执行时间
- salerManager: -1 #销管entUserID
- dayLimit: 0 #几天提醒
- startTime: "2025-06-19 00:00:00" #通知起止时间
- mailConfig:
- - smtpHost: "smtp.exmail.qq.com"
- smtpPort: 465
- pwd: "ue9Rg9Sf4CVtdm5a"
- user: "public03@topnet.net.cn"
- - smtpHost: "smtp.exmail.qq.com"
- smtpPort: 465
- pwd: "ue9Rg9Sf4CVtdm5a"
- user: "public03@topnet.net.cn"
- examineDiscount: #自动审批折扣率
- VIP订阅:
- - min: 12
- max: 24
- discountRate: 0.8
- - min: 24
- max: 27
- discountRate: 0.45
- 大会员:
- - min: 0
- max: 6
- discountRate: 1
- - min: 6
- max: 12
- discountRate: 0.8
- - min: 12
- max: -1
- discountRate: 0.6
- trialProductApproval:
- - product: "大会员"
- day: 7
- - product: "VIP订阅"
- day: 3
- giftDiscount: 0.6
- entAnalysis: 19
- jyResources: "http://172.31.31.205:8889"
- jyPayRpc: "192.168.3.149:8600"
- autoReturnTaskTime: 3
- onlineReturnMoney: "0 */2 * * * ?"
- examine:
- - name: 部门经理
- userid: [30190,37,170,30183,55,96334,96542]
- equity: 1
- - name: 销管
- userid: [152,39,30199,96334]
- equity: 2
- - name: 管理层
- userid: [56,96334]
- equity: 5
- specialService: ["市场分析定制报告下载包","企业中标分析报告下载包","业主采购分析报告下载包","数据导出,导出数量"]
- zeroOrderType: [ "赠送","分期付款补充权益","原订单不支持开通多项权益" ]
- multipleSaveMsgUrl : "http://192.168.3.128:8778/messageCenter/MultipleSaveMsg"
- invoiceInterfaceAddress: "http://127.0.0.1:7080/Invoice/Add"
- jyWebDomain: "https://jybx2-webtest.jydev.jianyu360.com"
- shortLinkService: "https://jybx2-webtest.jydev.jianyu360.com/short/get"
- couponUpdate: "http://127.0.0.1:8090/lotteryStateChange"
- vipGiving:
- cycleUnit: [1,2,3]
- cycleCount: [0,1,2]
- copyHref:
- VIP订阅: "https://jybx2-webtest.jydev.jianyu360.com/weixin/frontPage/vipIntro/free/order_detail"
- request_auth: [1,2]
- paymentAddress: "172.31.31.205:8170"
- creatEntRpc: "172.31.31.205:8699"
- saleChangePower: [
- "jianyu@admin",
- "张胜楠"
- ]
- stampedInterest: ["刘亚丽"]
- saleChangeReason: ["客户退款","销售撞单"]
- userRightsGroup:
- pinTube: [94316]
- supAdmin: [29240]
- cSId: [92299]
- administration: []
- finance: [100094]
- entPrice: 2000
- esAddress: "http://172.20.45.129:9206,http://172.20.45.130:9306"
- esSize: 30
- esUserName: ""
- esPassword: ""
- nsq: "192.168.3.240:4260"
- qsqTopic: "jy_event"
- entAnalysisView: 1500
- entAnalysis500: 200
- automaticPaymentTime: 3
|