import api from "../api/api";
import { $request } from "../utils/request";


/**
 * 获取我的订单列表
 * @param data 
 */
export const getEnrollmentsApi = (data: getEnrollmentsDataType): Promise<responseOptions> => {
	const options: requestOptionsType<any> = {
		url: api.hwEnrollment.getEnrollments,
		data
	};
	return $request(options);
};