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.
55 lines
1.8 KiB
55 lines
1.8 KiB
/* generated using openapi-typescript-codegen -- do not edit */ |
|
/* istanbul ignore file */ |
|
/* tslint:disable */ |
|
/* eslint-disable */ |
|
import type { BaseResponse_boolean_ } from '../models/BaseResponse_boolean_' |
|
import type { BaseResponse_Page_CourseResources_ } from '../models/BaseResponse_Page_CourseResources_' |
|
import type { ResourceFavourAddRequest } from '../models/ResourceFavourAddRequest' |
|
import type { ResourceFavourQueryRequest } from '../models/ResourceFavourQueryRequest' |
|
import type { CancelablePromise } from '../core/CancelablePromise' |
|
import { OpenAPI } from '../core/OpenAPI' |
|
import { request as __request } from '../core/request' |
|
export class SeResourceFavourControllerService { |
|
/** |
|
* doFavour |
|
* @param resourceFavourAddRequest resourceFavourAddRequest |
|
* @returns BaseResponse_boolean_ OK |
|
* @returns any Created |
|
* @throws ApiError |
|
*/ |
|
public static doFavourUsingPost5( |
|
resourceFavourAddRequest: ResourceFavourAddRequest, |
|
): CancelablePromise<BaseResponse_boolean_ | any> { |
|
return __request(OpenAPI, { |
|
method: 'POST', |
|
url: '/resource_favour/add', |
|
body: resourceFavourAddRequest, |
|
errors: { |
|
401: `Unauthorized`, |
|
403: `Forbidden`, |
|
404: `Not Found`, |
|
}, |
|
}) |
|
} |
|
/** |
|
* listPostByPage |
|
* @param resourceFavourQueryRequest resourceFavourQueryRequest |
|
* @returns BaseResponse_Page_CourseResources_ OK |
|
* @returns any Created |
|
* @throws ApiError |
|
*/ |
|
public static listPostByPageUsingPost3( |
|
resourceFavourQueryRequest: ResourceFavourQueryRequest, |
|
): CancelablePromise<BaseResponse_Page_CourseResources_ | any> { |
|
return __request(OpenAPI, { |
|
method: 'POST', |
|
url: '/resource_favour/list/page', |
|
body: resourceFavourQueryRequest, |
|
errors: { |
|
401: `Unauthorized`, |
|
403: `Forbidden`, |
|
404: `Not Found`, |
|
}, |
|
}) |
|
} |
|
}
|
|
|