import request from '@/sheep/request'; const PayOrderApi = { // 开始抽奖 lottery: (id) => { return request({ url: '/promotion/prize-draw/lottery', method: 'GET', params: { activityId: id }, }); }, // 已获奖品 PrizesWon: (id) => { return request({ url: '/promotion/prize-draw/getMyPrizeLogDO', method: 'GET', params: { activityId: id }, }); }, // 获得抽奖照片 prizeImg: (id) => { return request({ url: '/promotion/prize-draw/activity-prize/list-by-activity-id', method: 'GET', params: { activityId:id }, }); }, // 规则 ActivityRules: (params) => { return request({ url: '/promotion/prize-draw/getOne', method: 'GET', params, }); }, }; export default PayOrderApi;