1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

fix checkstyle

Signed-off-by: slievrly <slievrly@163.com>
This commit is contained in:
slievrly
2020-01-01 14:29:54 +08:00
parent fbd72a6000
commit f36c94d3ed
6 changed files with 44 additions and 44 deletions

View File

@@ -18,9 +18,7 @@ package com.alibaba.cloud.examples;
import com.alibaba.cloud.examples.BusinessApplication.OrderService;
import com.alibaba.cloud.examples.BusinessApplication.StorageService;
import io.seata.spring.annotation.GlobalTransactional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -92,7 +90,8 @@ public class HomeController {
ResponseEntity<String> response;
try {
response = restTemplate.postForEntity(url, request, String.class);
} catch (Exception exx) {
}
catch (Exception exx) {
return "mock error";
}
result = response.getBody();
@@ -123,4 +122,4 @@ public class HomeController {
}
}
}

View File

@@ -20,4 +20,4 @@ seata.service.disable-global-transaction=false
## if use config center
#seata.config.type=apollo
#seata.config.apollo.apollo-meta=http://192.168.1.204:8801
#seata.config.apollo.app-id=seata-server
#seata.config.apollo.app-id=seata-server