import { prizeType } from '../type';
import { ResOpen } from './PtlOpen';

/**
 * 工会宝藏抽奖接口接口
 */

export type ReqLottery = {
    type: 1 | 10;
};

export type ResLottery = {
    /**抽取的奖励 */
    prize: prizeType[];
    /**更新open接口数据 */
    changeData?: Partial<ResOpen>;
};

export type GongHuiBaoZangMsg = {
    /**抽取的奖励 */
    prize: prizeType[];
    /**更新open接口数据 */
    name: string;
    uid: string;
    ctime: number
};