fix
Helius
2022-06-11 7e96543ae18f8625abefcddc875ef8010d35b28a
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
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);
    }
}