You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.5 KiB
47 lines
1.5 KiB
/* generated using openapi-typescript-codegen -- do not edit */ |
|
/* istanbul ignore file */ |
|
/* tslint:disable */ |
|
/* eslint-disable */ |
|
import type { BaseResponse_Page_CourseResources_ } from '../models/BaseResponse_Page_CourseResources_'; |
|
import type { CancelablePromise } from '../core/CancelablePromise'; |
|
import { OpenAPI } from '../core/OpenAPI'; |
|
import { request as __request } from '../core/request'; |
|
export class FavourInformationControllerService { |
|
/** |
|
* getInformation2 |
|
* @param resourceIdList resourceIdList |
|
* @param type type |
|
* @param current |
|
* @param pageSize |
|
* @param sortField |
|
* @param sortOrder |
|
* @returns BaseResponse_Page_CourseResources_ OK |
|
* @throws ApiError |
|
*/ |
|
public static getInformation2UsingGet1( |
|
resourceIdList: Array<number>, |
|
type: number, |
|
current?: number, |
|
pageSize?: number, |
|
sortField?: string, |
|
sortOrder?: string, |
|
): CancelablePromise<BaseResponse_Page_CourseResources_> { |
|
return __request(OpenAPI, { |
|
method: 'GET', |
|
url: '/Favour/get', |
|
query: { |
|
'current': current, |
|
'pageSize': pageSize, |
|
'sortField': sortField, |
|
'sortOrder': sortOrder, |
|
'resourceIdList': resourceIdList, |
|
'type': type, |
|
}, |
|
errors: { |
|
401: `Unauthorized`, |
|
403: `Forbidden`, |
|
404: `Not Found`, |
|
}, |
|
}); |
|
} |
|
}
|
|
|