huminmin
10 天以前 c383c8ca7053005ffa3ee58efd89956fbf52c9ea
src/main/java/com/ruoyi/project/system/service/impl/UnipushService.java
@@ -20,9 +20,9 @@
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;
@@ -39,16 +39,12 @@
 */
@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;
@@ -140,7 +136,7 @@
    /**
     * 发送回访提醒
     */
    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);
    }