admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
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
package org.fanli.redpack;
 
import org.junit.Test;
 
import com.yeshi.fanli.service.inter.redpack.RedPackWinInviteService;
import com.yeshi.fanli.util.BeanUtil; 
 
public class Test_RedPackWinInviteService {
 
    
    @Test
    public void inviteOrderArriveReward() {
        try {
            RedPackWinInviteService service = BeanUtil.getBean(RedPackWinInviteService.class);
            service.inviteOrderArriveReward(974767L, 1 ,"471083872448382646");
            System.out.println("-------- 测试结束 ------------------");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
    
    
//    @Test
    public void inviteSucceedReward() {
        try {
            RedPackWinInviteService service = BeanUtil.getBean(RedPackWinInviteService.class);
            service.inviteSucceedReward(3272184L);
            System.out.println("-------- 测试结束 ------------------");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
    
    
    
    
}