yujian
2019-08-12 6d44a9cdd5b2549a392516b25f2d1068c9aaf984
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
package com.yeshi.fanli.service.inter.integral;
 
import java.util.List;
 
import com.yeshi.fanli.entity.integral.IntegralExchange;
import com.yeshi.fanli.exception.integral.IntegralExchangeException;
import com.yeshi.fanli.vo.integral.ExchangeTipVO;
 
public interface IntegralExchangeService {
 
    /**
     * 查询有效的
     * @param start
     * @param count
     * @return
     */
    public List<IntegralExchange> listValidCache(long start, int count);
 
    public Long countValid();
 
    /**
     * 金币兑换检验
     * @param uid
     * @param id
     * @return
     * @throws IntegralExchangeException
     */
    public ExchangeTipVO verifyExchange(Long uid, Long id) throws IntegralExchangeException;
 
    /**
     * 金币兑换
     * @param uid
     * @param id
     * @param inviteId
     * @throws IntegralExchangeException
     */
    public void exchange(Long uid, Long id, Long inviteId) throws IntegralExchangeException;
    
}