|  |  |  | 
|---|
|  |  |  | package cc.mrbird.febs; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import cc.mrbird.febs.mall.service.IApiMallMemberService; | 
|---|
|  |  |  | import cc.mrbird.febs.mall.service.IMemberProfitService; | 
|---|
|  |  |  | import lombok.extern.slf4j.Slf4j; | 
|---|
|  |  |  | import org.junit.jupiter.api.Test; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.boot.test.context.SpringBootTest; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Slf4j | 
|---|
|  |  |  | @SpringBootTest | 
|---|
|  |  |  | public class AgentTest { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Autowired | 
|---|
|  |  |  | private IMemberProfitService memberProfitService; | 
|---|
|  |  |  | @Autowired | 
|---|
|  |  |  | private IApiMallMemberService apiMallMemberService; | 
|---|
|  |  |  | //    @Test | 
|---|
|  |  |  | //    public void getCouponAmountMap(){ | 
|---|
|  |  |  | // | 
|---|
|  |  |  | //        memberProfitService.updateRunScore(); | 
|---|
|  |  |  | //        for(int i = 0;i<10;i++){ | 
|---|
|  |  |  | //            RegisterDto registerDto = new RegisterDto(); | 
|---|
|  |  |  | //            registerDto.setAccount("1910000044"+i); | 
|---|
|  |  |  | //            registerDto.setRegistType("admin"); | 
|---|
|  |  |  | //            registerDto.setPassword("a123456"); | 
|---|
|  |  |  | //            registerDto.setPasswordAgain("a123456"); | 
|---|
|  |  |  | //            registerDto.setInviteId("36940411"); | 
|---|
|  |  |  | //            apiMallMemberService.register(registerDto); | 
|---|
|  |  |  | //        } | 
|---|
|  |  |  | // | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  | @Test | 
|---|
|  |  |  | public void getCouponAmountMapV2(){ | 
|---|
|  |  |  | memberProfitService.updateMemberCoin(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|