|
@@ -84,6 +84,10 @@ public class DomainOrderService {
|
|
|
if (!(Boolean) checkResult.get("result")) {
|
|
if (!(Boolean) checkResult.get("result")) {
|
|
|
throw new BusinessException(checkResult.get("reason").toString());
|
|
throw new BusinessException(checkResult.get("reason").toString());
|
|
|
}
|
|
}
|
|
|
|
|
+ BigDecimal singlePrice = sysConfigService.getBigDecimal("domain_price");
|
|
|
|
|
+ if (singlePrice.multiply(BigDecimal.valueOf(year)).compareTo(price) != 0) {
|
|
|
|
|
+ throw new BusinessException("价格不符");
|
|
|
|
|
+ }
|
|
|
// if (price.compareTo(BigDecimal.valueOf(40L)) != 0) {
|
|
// if (price.compareTo(BigDecimal.valueOf(40L)) != 0) {
|
|
|
// throw new BusinessException("订单价格与配置不符,请重新下单.");
|
|
// throw new BusinessException("订单价格与配置不符,请重新下单.");
|
|
|
// }
|
|
// }
|