Commit f5f0e97a by 岳巧源

add config

parent d9e5c8b9
Showing with 49 additions and 7 deletions
{
"dev": {
"rabbit_mq": {
"producer": {
"host": "192.168.1.237",
"port": 5672,
"user": "huntadmin",
"password": "jy2y2900",
"queue_name": "europa_erp_sku_queue",
"rabbit_mq_exchange": "europa_erp_parse_file_exchange",
"rabbit_mq_routing_key": "europa_erp_sku_routing"
}
}
},
"prod": {
"rabbit_mq": {
"producer": {
"host": "119.23.79.136",
"port": 5672,
"user": "ans2024",
"password": "ans2024123",
"queue_name": "europa_erp_sku_queue",
"rabbit_mq_exchange": "europa_erp_parse_file_exchange",
"rabbit_mq_routing_key": "europa_erp_sku_routing"
}
}
}
}
\ No newline at end of file
dev:
rabbit_mq:
producer:
host: 192.168.1.237
port: 5672
user: huntadmin
password: jy2y2900
queue_name: europa_erp_sku_queue
rabbit_mq_exchange: europa_erp_parse_file_exchange
rabbit_mq_routing_key: europa_erp_sku_routing
prod:
rabbit_mq:
producer:
host: 119.23.79.136
port: 5672
user: ans2024
password: ans2024123
queue_name: europa_erp_sku_queue
rabbit_mq_exchange: europa_erp_parse_file_exchange
rabbit_mq_routing_key: europa_erp_sku_routing
from utils.file_handle import unzip
if __name__ == '__main__':
unzip('rs_components_cn_chiplink.csv.zip', './')
\ 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