Browse Source

1.正式环境配置文件修改

newStockUp
zhenghaoyu 2 years ago
parent
commit
db463eb445
  1. 4
      blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/controller/FactoryCommonController.java
  2. 2
      blade-service/logpm-factory/src/main/resources/application-prod.yml

4
blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/controller/FactoryCommonController.java

@ -94,8 +94,8 @@ public class FactoryCommonController {
map.put("createTime",new Date().getTime());
//将消息携带绑定键值
rabbitTemplate.convertAndSend(RabbitConstant.ORDER_STATUS_EXCHANGE, RabbitConstant.ORDER_STATUS_ROUTING, map);
map.put("type", "DealWith");
rabbitTemplate.convertAndSend(RabbitConstant.DEAL_WITH_EXCHANGE, RabbitConstant.DEAL_WITH_ROUTING,map);
// map.put("type", "DealWith");
// rabbitTemplate.convertAndSend(RabbitConstant.DEAL_WITH_EXCHANGE, RabbitConstant.DEAL_WITH_ROUTING,map);
// R r = factoryDataService.handleStatusData(orderStatusDTO);

2
blade-service/logpm-factory/src/main/resources/application-prod.yml

@ -31,7 +31,7 @@ spring:
password: ${blade.datasource.factory.slave.password}
#rabbitmq配置
rabbitmq:
host: 172.16.128.146
host: 172.16.128.145
port: 5672
username: admin
password: Slwk@123654

Loading…
Cancel
Save