| | |
| | | import com.ruoyi.project.system.domain.SysUserClient; |
| | | import com.ruoyi.project.system.mapper.SysMenuMapper; |
| | | import com.ruoyi.project.system.service.SysUserClientService; |
| | | import jakarta.annotation.PostConstruct; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.jetbrains.annotations.NotNull; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.scheduling.annotation.Async; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import javax.annotation.PostConstruct; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | @RequiredArgsConstructor |
| | | public class UnipushService { |
| | | |
| | | @Autowired |
| | | private SysMenuMapper sysMenuMapper; |
| | | |
| | | @Autowired |
| | | private GetuiConfig getuiConfig; |
| | | |
| | | @Autowired |
| | | private SysUserClientService userClientService; |
| | | private final SysMenuMapper sysMenuMapper; |
| | | private final GetuiConfig getuiConfig; |
| | | private final SysUserClientService userClientService; |
| | | |
| | | private PushApi pushApi; |
| | | |
| | |
| | | /** |
| | | * 发送回访提醒 |
| | | */ |
| | | public void sendReturnVisitReminder(Long returnVisitId, String cid, String content, Integer customerId) { |
| | | public void sendReturnVisitReminder(Long returnVisitId, String cid, String content, Long customerId) { |
| | | String targetPath = "pages/cooperativeOffice/customerManage/detail?customerId=" + customerId; |
| | | sendRoutingPush(returnVisitId, cid, "客户回访提醒", content, targetPath, false); |
| | | } |