/** * 统一管理平台API文档 * 包含模块:会员、账号、商品、支付、咨询、营销 * * OpenAPI spec version: 2.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { AxiosPromise, AxiosInstance } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { ArticleComment } from '../models'; import { Body1 } from '../models'; import { ResponseResult } from '../models'; /** * ArticleCommentControllerApi - axios parameter creator * @export */ export declare const ArticleCommentControllerApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary comment article * @param {ArticleComment} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ commentArticle: (body?: ArticleComment, options?: any) => Promise; /** * * @summary get article comments list * @param {number} page * @param {number} rows * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getArticleCommentsList: (page: number, rows: number, body?: string, options?: any) => Promise; /** * * @summary count article comments * @param {Body1} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getArticleCount: (body?: Body1, options?: any) => Promise; /** * * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ isArticleLiked: (body?: string, options?: any) => Promise; }; /** * ArticleCommentControllerApi - functional programming interface * @export */ export declare const ArticleCommentControllerApiFp: (configuration?: Configuration) => { /** * * @summary comment article * @param {ArticleComment} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ commentArticle(body?: ArticleComment, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary get article comments list * @param {number} page * @param {number} rows * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getArticleCommentsList(page: number, rows: number, body?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary count article comments * @param {Body1} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getArticleCount(body?: Body1, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ isArticleLiked(body?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ArticleCommentControllerApi - factory interface * @export */ export declare const ArticleCommentControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary comment article * @param {ArticleComment} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ commentArticle(body?: ArticleComment, options?: any): AxiosPromise; /** * * @summary get article comments list * @param {number} page * @param {number} rows * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getArticleCommentsList(page: number, rows: number, body?: string, options?: any): AxiosPromise; /** * * @summary count article comments * @param {Body1} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getArticleCount(body?: Body1, options?: any): AxiosPromise; /** * * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ isArticleLiked(body?: string, options?: any): AxiosPromise; }; /** * ArticleCommentControllerApi - object-oriented interface * @export * @class ArticleCommentControllerApi * @extends {BaseAPI} */ export declare class ArticleCommentControllerApi extends BaseAPI { /** * * @summary comment article * @param {ArticleComment} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ArticleCommentControllerApi */ commentArticle(body?: ArticleComment, options?: any): Promise>; /** * * @summary get article comments list * @param {number} page * @param {number} rows * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ArticleCommentControllerApi */ getArticleCommentsList(page: number, rows: number, body?: string, options?: any): Promise>; /** * * @summary count article comments * @param {Body1} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ArticleCommentControllerApi */ getArticleCount(body?: Body1, options?: any): Promise>; /** * * @param {string} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ArticleCommentControllerApi */ isArticleLiked(body?: string, options?: any): Promise>; }