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();
|
}
|
}
|
|
|
|
|
}
|