import { ApiCall } from "tsrpc";
import { PlayerFun } from '../public/player';
import { ReqTest, ResTest } from "../shared/protocols/PtlTest";

export default async function (call: ApiCall<ReqTest, ResTest>) {
    // TODO
    // if (G.config.debug == false) return call.succ({});
    await PlayerFun.sendPrize(call, G.gc.playerdata.data);
    call.succ({});
    // PayFun.pay(call.uid, 'zuanshi_1', G.gc.pay['zuanshi_1'].prize);
    // call.succ({});
}