93 lines
2.5 KiB
JSON
93 lines
2.5 KiB
JSON
{
|
|
"sqlite3": {
|
|
"msg_path": "./msg.db"
|
|
},
|
|
"rmq_config": {
|
|
"sub_addr": "amqp://m2pool:m2pool@localhost:5672",
|
|
"pay": {
|
|
"queue": "pay.auto.queue",
|
|
"exchange": "pay.exchange",
|
|
"routing": [
|
|
"pay.auto.routing.key"
|
|
]
|
|
},
|
|
"topup": {
|
|
"queue": "pay.recharge.queue",
|
|
"exchange": "pay.exchange",
|
|
"routing": [
|
|
"pay.recharge.routing.key"
|
|
]
|
|
},
|
|
"withdraw": {
|
|
"queue": "pay.withdraw.queue",
|
|
"exchange": "pay.exchange",
|
|
"routing": [
|
|
"pay.withdraw.routing.key"
|
|
]
|
|
},
|
|
"remove": {
|
|
"queue": "pay.remove.queue",
|
|
"exchange": "pay.exchange",
|
|
"routing": [
|
|
"pay.remove.routing.key"
|
|
]
|
|
},
|
|
"pay_resp": {
|
|
"queue": "pay.auto.return.queue",
|
|
"exchange": "pay.exchange",
|
|
"routing": [
|
|
"pay.auto.return.routing.key"
|
|
]
|
|
},
|
|
"topup_resp": {
|
|
"queue": "pay.recharge.return.queue",
|
|
"exchange": "pay.exchange",
|
|
"routing": [
|
|
"pay.recharge.return.routing.key"
|
|
]
|
|
},
|
|
"withdraw_resp": {
|
|
"queue": "pay.withdraw.return.queue",
|
|
"exchange": "pay.exchange",
|
|
"routing": [
|
|
"pay.withdraw.return.routing.key"
|
|
]
|
|
},
|
|
"remove_resp": {
|
|
"queue": "pay.remove.return.queue",
|
|
"exchange": "pay.exchange",
|
|
"routing": [
|
|
"pay.remove.return.routing.key"
|
|
]
|
|
}
|
|
},
|
|
"eth_config": {
|
|
"rpcUrl": "http://10.168.3.236:18545",
|
|
"wsUrl": "ws://10.168.3.236:18546",
|
|
"confirmHeight": 20,
|
|
"dbConfig": {
|
|
"user": "root",
|
|
"password": "Lzx2021@!",
|
|
"host": "127.0.0.1",
|
|
"port": 3306,
|
|
"database": "payment",
|
|
"maxOpenConns": 20,
|
|
"maxIdleCoons": 20,
|
|
"connMaxLife": 120
|
|
}
|
|
},
|
|
"tron_config": {
|
|
"rpcUrl": "",
|
|
"confirmHeight": 20,
|
|
"dbConfig": {
|
|
"user": "root",
|
|
"password": "Lzx2021@!",
|
|
"host": "127.0.0.1",
|
|
"port": 3306,
|
|
"database": "payment",
|
|
"maxOpenConns": 20,
|
|
"maxIdleCoons": 20,
|
|
"connMaxLife": 120
|
|
}
|
|
}
|
|
} |