Helius
2022-06-15 8654ec54f22fec61a996e024ba4d0105aa7ba3f9
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
package cc.mrbird.febs;
 
import cc.mrbird.febs.mall.service.IAgentService;
import cc.mrbird.febs.mall.service.IMemberProfitService;
import cc.mrbird.febs.rabbit.consumer.AgentConsumer;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
 
/**
 * @author wzy
 * @date 2022-06-02
 **/
@SpringBootTest
public class ProfitTest {
 
    @Autowired
    private AgentConsumer agentConsumer;
 
    @Autowired
    private IAgentService agentService;
 
    @Autowired
    private IMemberProfitService memberProfitService;
 
    @Test
    public void dynamicProfit() {
        memberProfitService.dynamicProfit(45L);
    }
 
    @Test
    public void thankfulProfit() {
        memberProfitService.thankfulProfit();
    }
}