Commit 8b7bca40 by Shadow

fixed bug

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