import { ApiCall } from "tsrpc";
import { ReqGetRankList, ResGetRankList } from "../../../cross/protocols/hbzb/zbs/PtlGetRankList";
import { Rank } from '../../../public/rank/rank';

export default async function (call: ApiCall<ReqGetRankList, ResGetRankList>) {
    // let page = call.req.page || 0
    // let offset = call.req.offset || -1 // 预防未查询到的调用，按原逻辑查询全部，避免引起未知问题
    // let {min, max} = Rank.pageToMin(page, offset)
    // let rankList = await Rank.list.hbzbZbsCross.getRankListRange(min, max);
    // call.succ({ rankList: rankList });
}