44323
2023-11-23 acad524bfb7f376c09ff8e6600fab207780156e1
cloud-server-competition/src/main/java/com/dsh/competition/service/CompetitionService.java
@@ -4,6 +4,8 @@
import com.dsh.competition.entity.Competition;
import com.dsh.competition.model.CompetitionInfo;
import com.dsh.competition.model.CompetitionListVo;
import com.dsh.competition.model.PaymentCompetitionVo;
import com.dsh.competition.util.ResultUtil;
import java.util.List;
@@ -25,7 +27,7 @@
     * @param heat
     * @return
     */
    List<CompetitionListVo> queryCompetitionList(String cityCode, String content, Integer registerCondition, Integer heat) throws Exception;
    List<CompetitionListVo> queryCompetitionList(String cityCode, String content, Integer registerCondition, String heat) throws Exception;
    /**
@@ -35,4 +37,30 @@
     * @return
     */
    CompetitionInfo queryCompetitionInfo(Integer uid, Integer id, String lon, String lat) throws Exception;
    /**
     * 赛事报名
     * @param uid
     * @param paymentCompetitionVo
     * @return
     * @throws Exception
     */
    ResultUtil paymentCompetition(Integer uid, PaymentCompetitionVo paymentCompetitionVo) throws Exception;
    /**
     * 定时任务修改赛事状态
     */
    void taskSetStatus();
    /**
     * 赛事可用课包
     * @param uid
     * @param id
     * @return
     */
    ResultUtil paymentCompetitionCourseList(Integer uid, Integer id);
}