Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang-queue-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8cc4bc42
authored
Sep 27, 2021
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
cd9dd1bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
config/db.toml.demo
config/db.toml.demo
View file @
8cc4bc42
[Liexin_databases]
[Liexin_databases]
dns="liexin:liexin#zsyM@tcp(192.168.2.232:3306)/liexin?parseTime=true"
dns="liexin:liexin#zsyM@tcp(192.168.1.252:3306)/liexin?parseTime=true"
[Liexin_order_databases]
dns="liexin_order:liexin_order#zsyM@tcp(192.168.1.252:3306)/liexin_order?parseTime=true"
[LiexinLabel_databases]
[LiexinLabel_databases]
dns="lie_labels:lie_labels#zsyM@tcp(192.168.
2.23
2:3306)/lie_labels?parseTime=true"
dns="lie_labels:lie_labels#zsyM@tcp(192.168.
1.25
2:3306)/lie_labels?parseTime=true"
[Liexincms_databases]
[Liexincms_databases]
dns="ichuntcms:ichuntcms#zsyM@tcp(192.168.
2.23
2:3306)/ichuntcms?parseTime=true"
dns="ichuntcms:ichuntcms#zsyM@tcp(192.168.
1.25
2:3306)/ichuntcms?parseTime=true"
[Bom_databases]
[Bom_databases]
dns="root:root@tcp(192.168.2.239:3306)/lie_bom?parseTime=true"
dns="root:root@tcp(192.168.2.239:3306)/lie_bom?parseTime=true"
...
@@ -19,7 +22,7 @@ queue_name="send_buyer_mail"
...
@@ -19,7 +22,7 @@ queue_name="send_buyer_mail"
routing_key="send_buyer_mail"
routing_key="send_buyer_mail"
exchange="ichunt_order_msg"
exchange="ichunt_order_msg"
type="direct"
type="direct"
dns="amqp://guest:guest@192.168.
2.23
2:5672/"
dns="amqp://guest:guest@192.168.
1.25
2:5672/"
[redis_config]
[redis_config]
host="192.168.1.235"
host="192.168.1.235"
...
@@ -30,7 +33,7 @@ port="6379"
...
@@ -30,7 +33,7 @@ port="6379"
[rabbitmq_order_push_stock]
[rabbitmq_order_push_stock]
queue_name="order_push_stock"
queue_name="order_push_stock"
dns="amqp://guest:guest@192.168.
2.23
2:5672/"
dns="amqp://guest:guest@192.168.
1.25
2:5672/"
[rabbitmq_erp_label]
[rabbitmq_erp_label]
...
@@ -38,7 +41,7 @@ queue_name="sales_labels"
...
@@ -38,7 +41,7 @@ queue_name="sales_labels"
routing_key="sales_label"
routing_key="sales_label"
exchange="erp_to_webservice"
exchange="erp_to_webservice"
type="direct"
type="direct"
dns="amqp://guest:guest@192.168.
2.23
2:5672/"
dns="amqp://guest:guest@192.168.
1.25
2:5672/"
[rabbitmq_yaohaoyou]
[rabbitmq_yaohaoyou]
...
@@ -46,7 +49,7 @@ queue_name="ichunt_addorder_yaohaoyou"
...
@@ -46,7 +49,7 @@ queue_name="ichunt_addorder_yaohaoyou"
routing_key="ichunt_addorder_yaohaoyou"
routing_key="ichunt_addorder_yaohaoyou"
exchange=""
exchange=""
type="direct"
type="direct"
dns="amqp://guest:guest@192.168.
2.23
2:5672/"
dns="amqp://guest:guest@192.168.
1.25
2:5672/"
[rabbitmq_bomcreateorder]
[rabbitmq_bomcreateorder]
...
@@ -54,4 +57,4 @@ queue_name="api_create_order_bom"
...
@@ -54,4 +57,4 @@ queue_name="api_create_order_bom"
routing_key="api_create_order_bom"
routing_key="api_create_order_bom"
exchange=""
exchange=""
type="direct"
type="direct"
dns="amqp://guest:guest@192.168.2.232:5672/"
dns="amqp://guest:guest@192.168.1.252:5672/"
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment