Commit 420114e8 by 孙龙

up

parent 48965560
Showing with 7 additions and 5 deletions
......@@ -26,6 +26,7 @@ config/proxy.toml.http.addr 修改成你的ip地址或者本地127.0.0.1
### 6.项目启动
go run ./cmd/main.go
go run ./cmd/crm/recv_comuser/main.go -config=./config/prod/ -logdir = ./logs/
go run ./cmd/crm/sync_comuser_to_erp/main.go -config=./config/prod/ -logdir = ./logs/
##项目的目录结构
......
......@@ -6,17 +6,17 @@ pushErpDomain = "http://crm.ichunt.net/api/pushComUserRelationToErp"
apiKey = "crm a1b2c3d4e5f6g7h8i9jk"
[rabbitmq_crm_comuser]
queue_name="maxwell"
routing_key="maxwell_liexin_crm.lie_invoice_company"
exchange=""
queue_name="bus_crm_com_user_to_erp"
routing_key="maxwell_liexin_crm.lie_invoice_company "
exchange="maxwell_crm"
type="direct"
dns="amqp://WmsQue:EizM9I1TAxoO0tmzoOm@172.18.137.33:5672/"
[rabbitmq_crm_comuser]
queue_name="crm_comusertoerp"
routing_key="crm_comusertoerp"
queue_name="crm_pushcomuser_toerp"
routing_key="crm_pushcomuser_toerp"
exchange=""
type="direct"
dns="amqp://WmsQue:EizM9I1TAxoO0tmzoOm@172.18.137.33:5672/"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment