Commit c3d65fe9 by guojuxing

小程序装修配置校验优化

parent a96298d0
......@@ -214,9 +214,6 @@ public class AppletDecorationConfigApiServiceImpl implements AppletDecorationCon
if (StringUtils.isBlank(value)) {
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), key + "不能为空");
}
if (!value.contains(",")) {
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), key + "数值非法");
}
String[] arr = value.split(",");
for (String str : arr) {
if (!appletCardMap.containsKey(str)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment