package com.xcong.excoin; import com.xcong.excoin.modules.documentary.service.FollowOrderOperationService; import com.xcong.excoin.utils.ThreadPoolUtils; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; import javax.annotation.Resource; /** * @author wzy * @date 2020-08-03 **/ @Slf4j @SpringBootTest public class FollowTest { @Resource private FollowOrderOperationService followOrderOperationService; @Test public void addFollowTest() { followOrderOperationService.addFollowerOrder(601L); // ThreadPoolUtils.sendFollowOrderTask(601L); } }