admin
2020-02-18 ddf5db7d31af51fcf697eac0cee7dd46ff73bcc1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package com.yeshi.fanli.service.inter.user;
 
import java.util.Map;
 
import com.yeshi.fanli.exception.user.UserLotteryRecordException;
 
import net.sf.json.JSONObject;
 
public interface UserLotteryRecordService {
 
    /**
     * 根据uid以及抽奖类型 获取抽奖次数
     * @param uid
     * @param type
     * @return
     */
    public JSONObject getLotteryCountDaily(Long uid) throws UserLotteryRecordException, Exception;
 
 
    /**
     * 抽奖-天天抽奖励券
     * @param uid
     * @return
     * @throws UserLotteryRecordException
     * @throws Exception
     */
    public Map<String, Object> executeLotteryDaily(Long uid) throws UserLotteryRecordException, Exception;
 
 
    /**
     * 新人抽奖-次数
     * @param uid
     * @return
     * @throws UserLotteryRecordException
     * @throws Exception
     */
    public JSONObject getLotteryCountNewbies(Long uid) throws UserLotteryRecordException, Exception;
 
    /**
     * 新人抽奖-抽奖结果
     * @param uid
     * @return
     * @throws UserLotteryRecordException
     * @throws Exception
     */
    public Map<String, Object> executeLotteryNewbies(Long uid) throws UserLotteryRecordException, Exception;
 
 
    /**
     * 新人抽奖 -返回奖品
     * @param count
     * @param countPrize
     * @param couponType
     * @return
     */
    public String getLotteryPrizeNewbies(int count, int countPrize, String couponType);
    
}