935090232@qq.com
2021-10-30 caa15383382af86c00f7176c1d24280a7da6d9e2
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
36
37
38
39
package com.matrix;
 
import com.matrix.system.hive.bean.SysProjServices;
import com.matrix.system.hive.service.SysProjServicesService;
import com.matrix.system.hive.service.TaiYanAliyunSmsService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
 
/**
 * @author jiangyouyao
 * @email 512061637@qq.com
 * @date 2019年2月25日
 */
@RunWith(SpringRunner.class)
@SpringBootTest(classes = {ZqErpApplication.class},webEnvironment =SpringBootTest.WebEnvironment.RANDOM_PORT)
public class TaiYanAliyunSmsServiceTest {
 
 
 
    @Autowired
    private TaiYanAliyunSmsService taiYanAliyunSmsService;
    @Autowired
    SysProjServicesService projServicesService;
 
 
    @Test
    public void addSendYycgNotice(){
        SysProjServices byId = projServicesService.findById(215550L);
        byId.setVipId(5949L);
        taiYanAliyunSmsService.sendYycgNotice(byId);
        taiYanAliyunSmsService.sendHkNotice(byId);
 
    }
 
 
}