|
|
@ -164,9 +164,9 @@ public class HighDiscountPackageController { |
|
|
|
|
|
|
|
|
|
|
|
if (StringUtils.isBlank(highDiscountPackage.getTitle()) |
|
|
|
if (StringUtils.isBlank(highDiscountPackage.getTitle()) |
|
|
|
|| highDiscountPackage.getSalesType() == null |
|
|
|
|| highDiscountPackage.getSalesType() == null |
|
|
|
// || StringUtils.isBlank(highDiscountPackage.getBannerImg())
|
|
|
|
|| StringUtils.isBlank(highDiscountPackage.getBannerImg()) |
|
|
|
// || StringUtils.isBlank(highDiscountPackage.getListImg())
|
|
|
|
|| StringUtils.isBlank(highDiscountPackage.getListImg()) |
|
|
|
// || StringUtils.isBlank(highDiscountPackage.getDetailsImg())
|
|
|
|
|| StringUtils.isBlank(highDiscountPackage.getDetailsImg()) |
|
|
|
) { |
|
|
|
) { |
|
|
|
log.error("HighAgentController -> insertCouponPackageInfo() error!","参数错误"); |
|
|
|
log.error("HighAgentController -> insertCouponPackageInfo() error!","参数错误"); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, ""); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, ""); |
|
|
@ -225,9 +225,9 @@ public class HighDiscountPackageController { |
|
|
|
if (StringUtils.isBlank(highDiscountPackage.getTitle()) |
|
|
|
if (StringUtils.isBlank(highDiscountPackage.getTitle()) |
|
|
|
|| highDiscountPackage.getSalesType() == null |
|
|
|
|| highDiscountPackage.getSalesType() == null |
|
|
|
|| highDiscountPackage.getId() == null |
|
|
|
|| highDiscountPackage.getId() == null |
|
|
|
// || StringUtils.isBlank(highDiscountPackage.getBannerImg())
|
|
|
|
|| StringUtils.isBlank(highDiscountPackage.getBannerImg()) |
|
|
|
// || StringUtils.isBlank(highDiscountPackage.getListImg())
|
|
|
|
|| StringUtils.isBlank(highDiscountPackage.getListImg()) |
|
|
|
// || StringUtils.isBlank(highDiscountPackage.getDetailsImg())
|
|
|
|
|| StringUtils.isBlank(highDiscountPackage.getDetailsImg()) |
|
|
|
) { |
|
|
|
) { |
|
|
|
log.error("HighAgentController -> updateCouponPackageInfo() error!","参数错误"); |
|
|
|
log.error("HighAgentController -> updateCouponPackageInfo() error!","参数错误"); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, ""); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, ""); |
|
|
|