6 lines
286 B
TypeScript
6 lines
286 B
TypeScript
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 || []);
|
|
} |