Commit cccc71bf authored by 武飞达's avatar 武飞达

冻结原因不能大于10字

parent a391e032
...@@ -834,6 +834,9 @@ public class UserServiceImpl implements IUserService { ...@@ -834,6 +834,9 @@ public class UserServiceImpl implements IUserService {
if (StringUtils.isBlank(reason)) { if (StringUtils.isBlank(reason)) {
return JsonResult.buildErrorStateResult("冻结原因不能为空"); return JsonResult.buildErrorStateResult("冻结原因不能为空");
} }
if (reason.length() > 10) {
return JsonResult.buildErrorStateResult("冻结原因不能大于10个字");
}
//调用kdsp接口校验是否有在途数据(订单在途+金融在途) //调用kdsp接口校验是否有在途数据(订单在途+金融在途)
Map<String, String> header = Maps.newHashMap(); Map<String, String> header = Maps.newHashMap();
header.put("Content-type", "application/x-www-form-urlencoded"); header.put("Content-type", "application/x-www-form-urlencoded");
......
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