|
|
@@ -65,7 +65,7 @@ public class TtPoiPlanController extends BaseController { |
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"商品的抽佣率为空"); |
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"商品的抽佣率为空"); |
|
|
} |
|
|
} |
|
|
if(commissionRate.intValue() < 100 || commissionRate.intValue() > 2900){ |
|
|
if(commissionRate.intValue() < 100 || commissionRate.intValue() > 2900){ |
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"商品的抽佣率需在1%-29%之间"); |
|
|
|
|
|
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"商品的抽佣率需在万分位100-2900之间"); |
|
|
} |
|
|
} |
|
|
Integer contentType = (Integer) param.get("contentType"); |
|
|
Integer contentType = (Integer) param.get("contentType"); |
|
|
if(contentType == null){ |
|
|
if(contentType == null){ |
|
|
@@ -128,7 +128,7 @@ public class TtPoiPlanController extends BaseController { |
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"抽佣率为空"); |
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"抽佣率为空"); |
|
|
} |
|
|
} |
|
|
if(takeRate.intValue() < 100 || takeRate.intValue() > 2900){ |
|
|
if(takeRate.intValue() < 100 || takeRate.intValue() > 2900){ |
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"抽佣率需在1%-29%之间"); |
|
|
|
|
|
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"抽佣率需在万分位100-2900之间"); |
|
|
} |
|
|
} |
|
|
String douyinId = (String) param.get("douyinId"); |
|
|
String douyinId = (String) param.get("douyinId"); |
|
|
|
|
|
|
|
|
|