UNPKG

@ginstone/nga-api

Version:

14 lines (13 loc) 397 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ForumApi = void 0; const ForumInfo_1 = require("../response/ForumInfo"); class ForumApi { } /** * 搜索版面 * @param client 客户端 * @param params 参数 */ ForumApi.search = (client, params) => client.forum(params).then(res => res.map(i => new ForumInfo_1.ForumInfo(i))); exports.ForumApi = ForumApi;