2021-06-14 17:45:11 +08:00

9 lines
281 B
TypeScript

import { ApiCall } from "tsrpc";
import { ReqTest, ResTest } from "../shared/protocols/PtlTest";
export async function ApiTest(call: ApiCall<ReqTest, ResTest>) {
let testSession = await call.getSession('testSession');
call.succ({
testSession: testSession
});
}