Commit 5fdf4a0b by 罗长华

修复remarkFriend Request失败的问题

parent f4be314b
......@@ -259,7 +259,7 @@ public class ImFriendController extends BaseController {
@PostMapping("/sdk/remark")
@ApiOperation(value = "备注")
public ApiResult<Boolean> remark(@RequestBody FriendRemarkParam param) {
log.info("删除好友入参 {}", JSON.toJSONString(param));
log.info("备注好友入参 {}", JSON.toJSONString(param));
if (StringUtils.isBlank(param.getUserId())) {
throw new BusinessException("参数userId不能为空");
}
......
......@@ -222,7 +222,7 @@ public class WecloudImContactsOperation extends WecloudImOperation {
Map<String, String> param = new HashMap<>();
param.put("userId", userId);
param.put("friendUserId", friendUserId);
param.put("remark", remark);
param.put("friendRemark", remark);
// 发送请求
RequestMessage request = new WecloudRequestMessageBuilder().setEndpoint(REMARK_FRIEND_REQUEST)
.setMethod(HttpMethod.POST).setParameters(param)
......
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