feat 改回注册中心配置

This commit is contained in:
yinglong zhang
2021-07-07 09:53:29 +08:00
parent 1ea0d09cb0
commit 9a00280ba0
4 changed files with 16 additions and 13 deletions
@@ -18,7 +18,7 @@ public class ActDefineStartMap {
map.put("2","standardSurveyWorkFlow");
map.put("3","standardCommentProcessWorkFlow");
map.put("3","standardregulatoryinventory");
map.put("4","standardregulatoryinventory");
return map.get(type);
}
}
@@ -213,7 +213,7 @@ public class WorkFlowController {
@ApiOperation(value = "完成任务")
@PostMapping("/completeTask")
public Wrapper<String> completeTaskByUserId(@RequestBody BusMes busMes){
public Wrapper<String> completeTaskByUserId(BusMes busMes){
Wrapper<String> str = workFlowFeignClient.completeTaskByUserId(busMes);
if(str.getCode() == 500){
str.setSuccess(false);
@@ -9,14 +9,14 @@ spring.datasource.password = root
#==============================================
# 应用设置
spring.application.name=FotonLAWSSystem-zqazqazqa
spring.application.name=FotonLAWSSystem
application.code=20200101
application.center=1
#==============================================
#Eruept
eureka.client.allow-redirects=false
eureka.client.register-with-eureka=false
eureka.client.service-url.defaultZone=http://127.0.0.1:8671/eureka/
eureka.client.allow-redirects=true
eureka.client.register-with-eureka=true
eureka.client.service-url.defaultZone=http://192.168.10.47:8761/eureka/
#==============================================
# 邮箱配置1
@@ -35,13 +35,16 @@ spring.mail.port=587
# ==============================================
# rabbitMQ
# ==============================================
spring.rabbitmq.host=rabbitmq-cluster-01.vs.test.geely.svc
spring.rabbitmq.port=5672
spring.rabbitmq.virtual-host=uat_pcms
spring.rabbitmq.username=uat_pcms
spring.rabbitmq.password=VxsBLL5bJruwzXfS
#spring.rabbitmq.host=rabbitmq-cluster-01.vs.test.geely.svc
#spring.rabbitmq.port=5672
#spring.rabbitmq.virtual-host=uat_pcms
#spring.rabbitmq.username=uat_pcms
#spring.rabbitmq.password=VxsBLL5bJruwzXfS
# spring.rabbitmq.publisher-confirms=true
spring.rabbitmq.host=192.168.10.248
spring.rabbitmq.port=5672
spring.rabbitmq.username=ca
spring.rabbitmq.password=cs986432
# ==============================================
# 文档存储路径指向
# ==============================================
@@ -35,7 +35,7 @@
</update>
<select id="existTable" parameterType="java.lang.String" resultType="java.lang.Integer">
select count(*) from user_tables where table_name = #{tableName}
select count(*) from information_schema.TABLES where table_name = #{tableName}
</select>
<!-- 查询条件 -->