package com.red.circle.other.app.command.activity.query;

import com.red.circle.other.infra.database.cache.service.other.WeekStarCacheService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * 周星倒计时.
 *
 * @author pengliang on 2021/5/25
 */
@Component
@RequiredArgsConstructor
public class WeekStarCountDownQueryExe {

  private final WeekStarCacheService weekStarCacheService;

  public String execute() {
    return String.valueOf(weekStarCacheService.getCountDown());
  }

}
