Commit 8c217478 by Shadow

fixed bug

parent f328d3e2
...@@ -116,8 +116,7 @@ public class WecloudImUserOperation extends WecloudImOperation { ...@@ -116,8 +116,7 @@ public class WecloudImUserOperation extends WecloudImOperation {
String nickname = modifyUserRequest.getNickname(); String nickname = modifyUserRequest.getNickname();
// 参数校验 // 参数校验
assertParameterNotNull(userId, "userId"); assertParameterNotNull(userId, "userId");
assertParameterNotBlank(headPortrait, "headPortrait"); assertParameterNotBlank(nickname, "nickname");
assertParameterNotBlank(nickname, "headPortrait");
// 校验通过 构建参数 // 校验通过 构建参数
Map<String, Object> param = new HashMap<>(); Map<String, Object> param = new HashMap<>();
param.put("userId", userId + ""); param.put("userId", userId + "");
......
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