import { ApiCall } from "tsrpc";
import { ReqGetLog, ResGetLog } from "../../shared/protocols/conglinshoulie/PtlGetLog";

export default async function (call: ApiCall<ReqGetLog, ResGetLog>) {
    call.succ((await G.clientCross.callApi('clsl/Log', { uid: call.uid })).res?.logs || []);
}