Commit fd1e7943 by 18356073052

fix some bug

1 parent 6fc0dffb
......@@ -54,7 +54,7 @@ public class WeTaskFissionController extends BaseController {
* 获取任务宝详细信息
*/
@PreAuthorize("@ss.hasPermi('wecom:fission:query')")
@GetMapping(value = "/{id}")
@GetMapping(value = "/getInfo/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) {
return AjaxResult.success(weTaskFissionService.selectWeTaskFissionById(id));
}
......
......@@ -275,6 +275,9 @@ public class WeCustomerMessagePushServiceImpl implements IWeCustomerMessagePushS
messagePushDto.setChat_type(ChatType.of(customerMessagePushDto.getPushType()).getName());
List<String> externalUserIds = externalUserIds(customerMessagePushDto.getPushRange(), customerMessagePushDto.getStaffId()
, customerMessagePushDto.getDepartment(), customerMessagePushDto.getTag()).stream().map(WeCustomer::getExternalUserid).collect(Collectors.toList());
if(CollectionUtils.isEmpty(externalUserIds)){
throw new WeComException("没有外部联系人");
}
messagePushDto.setExternal_userid(externalUserIds);
seedMessage(messagePushDto, customerMessagePushDto);
SendMessageResultDto sendMessageResultDto = weCustomerMessagePushClient.sendCustomerMessageToUser(messagePushDto);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!