Commit d1fb549a by xugaojun

[鸿星尔克定制开发]:回调处理,优化判断逻辑

parent 9699537c
...@@ -172,6 +172,10 @@ public class MessageApiServiceImpl implements MessageApiService { ...@@ -172,6 +172,10 @@ public class MessageApiServiceImpl implements MessageApiService {
if (Objects.isNull(dto) || StringUtils.isEmpty(dto.getUserid())) { if (Objects.isNull(dto) || StringUtils.isEmpty(dto.getUserid())) {
return false; return false;
} }
if (!"create_user".equals(dto.getChangeType())) {
log.info("只处理新增用户, 非 create_user 类型不做处理 当前传入类型:{}", dto.getChangeType());
return false;
}
String userid = dto.getUserid(); String userid = dto.getUserid();
// 当前规则 userId是12位并且以5开头 // 当前规则 userId是12位并且以5开头
if (userid.length() != 12) { if (userid.length() != 12) {
......
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