package com.cooleshow.base.data.api;

import com.cooleshow.base.bean.UploadTokenInfoBean;
import com.cooleshow.base.data.net.BaseResponse;

import java.util.List;

import io.reactivex.rxjava3.core.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

import static com.cooleshow.base.common.BaseConstant.TEACHER_GROUP;
import static com.cooleshow.base.common.BaseConstant.STUDENT_GROUP;

/**
 * Author by pq, Date on 2022/5/11.
 */
public interface UploadApi {
    /**
     * 根据月份获取老师该月有课的日期
     *
     * @param
     * @return
     */
    @POST(TEACHER_GROUP + "getUploadSign")
    Observable<BaseResponse<UploadTokenInfoBean>> getUploadTokenForTeacher(@Body RequestBody body);

    /**
     * 根据月份获取老师该月有课的日期
     *
     * @param
     * @return
     */
    @POST(STUDENT_GROUP + "getUploadSign")
    Observable<BaseResponse<UploadTokenInfoBean>> getUploadTokenForStudent(@Body RequestBody body);
}
