package com.cyksj.service.grok;

import com.cyksj.model.entity.GrokUser;
import com.cyksj.model.views.GrokUserView;

import java.time.LocalDateTime;

/**
 * @author chan
 * @date 2025/3/20 18:20
 */
public interface GrokService {
    GrokUserView getUserInfo(long userId, Long relationId);

    GrokUser findByUserTokenAndExpireTimeAfter(String userToken, LocalDateTime now);

    GrokUser checkCarAccount(Long userId, Long relationId);

    Long getConversationCount(String userToken, Long limitTime);

    String getCarLoginUrl(String domain, Long userId, Long relationId);
}
