package shop.alien.store.service;

import shop.alien.entity.store.dto.AccountLogoutCompleteRequestDTO;
import shop.alien.entity.store.vo.AccountLogoutCompleteResultVo;

public interface AccountLogoutCompleteService {

    /**
     * 执行注销冷静期到期处理（与 XXL-JOB cancellationOfBusinessJob 一致）
     *
     * @param force 为 true 时跳过 7 天冷静期时间校验（测试用）
     */
    AccountLogoutCompleteResultVo completeCoolingPeriod(boolean force);

    AccountLogoutCompleteResultVo completeCoolingPeriod(AccountLogoutCompleteRequestDTO request);
}
