HJ_Server/src/api_s2c/jjc/ApiFightLog.ts
DESKTOP-15R5JU0\legu 97e070ea81 init
2023-11-17 12:02:12 +08:00

7 lines
295 B
TypeScript

import { ApiCall } from "tsrpc";
import { FightFun } from '../../public/fight';
import { ReqFightLog, ResFightLog } from "../../shared/protocols/jjc/PtlFightLog";
export default async function (call: ApiCall<ReqFightLog, ResFightLog>) {
call.succ(await FightFun.readLog(call.uid, 'jjc'));
}