- provider 添加版本号
This commit is contained in:
parent
755d94cbdc
commit
0757b45d08
@ -34,7 +34,7 @@ import java.util.stream.Collectors;
|
|||||||
* @time 2019-04-12 21:32
|
* @time 2019-04-12 21:32
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@org.apache.dubbo.config.annotation.Service(validation = "true")
|
@org.apache.dubbo.config.annotation.Service(validation = "true", version = "${dubbo.provider.OrderLogisticsService.version}")
|
||||||
public class OrderLogisticsServiceImpl implements OrderLogisticsService {
|
public class OrderLogisticsServiceImpl implements OrderLogisticsService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -40,7 +40,7 @@ import java.util.UUID;
|
|||||||
* @time 2019-03-30 15:35
|
* @time 2019-03-30 15:35
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@org.apache.dubbo.config.annotation.Service(validation = "true")
|
@org.apache.dubbo.config.annotation.Service(validation = "true", version = "${dubbo.provider.OrderReturnService.version}")
|
||||||
public class OrderReturnServiceImpl implements OrderReturnService {
|
public class OrderReturnServiceImpl implements OrderReturnService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -40,7 +40,7 @@ import java.util.stream.Collectors;
|
|||||||
* @time 2019-03-16 15:08
|
* @time 2019-03-16 15:08
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@org.apache.dubbo.config.annotation.Service(validation = "true")
|
@org.apache.dubbo.config.annotation.Service(validation = "true", version = "${dubbo.provider.OrderService.version}")
|
||||||
public class OrderServiceImpl implements OrderService {
|
public class OrderServiceImpl implements OrderService {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -38,6 +38,12 @@ dubbo:
|
|||||||
filter: -exception
|
filter: -exception
|
||||||
CartService:
|
CartService:
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
|
OrderService:
|
||||||
|
version: 1.0.0
|
||||||
|
OrderReturnService:
|
||||||
|
version: 1.0.0
|
||||||
|
OrderLogisticsService:
|
||||||
|
version: 1.0.0
|
||||||
consumer:
|
consumer:
|
||||||
timeout: 120000 # 设置长一点,方便调试代码
|
timeout: 120000 # 设置长一点,方便调试代码
|
||||||
ProductSpuService:
|
ProductSpuService:
|
||||||
|
Loading…
Reference in New Issue
Block a user