jiangqs
2023-09-04 c97706c3cc213b7db3d381e8a0435ff0ef9a04d6
ruoyi-modules/ruoyi-system/src/test/java/com/ruoyi/system/systemTest.java
@@ -1,8 +1,8 @@
package com.ruoyi.system;
import com.ruoyi.system.domain.vo.MgtPopGetVo;
import com.ruoyi.system.service.config.PopService;
import com.ruoyi.system.service.staff.SysWxCpService;
import me.chanjar.weixin.common.error.WxErrorException;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
@@ -22,12 +22,11 @@
public class systemTest {
    @Resource
    private PopService popService;
    private SysWxCpService sysWxCpService;
    @Test
    public void test1(){
        MgtPopGetVo mgtPopGetVo = popService.getMgtPop(1L);
        System.out.println(mgtPopGetVo);
    public void main() throws WxErrorException {
        sysWxCpService.sendMessage();
        sysWxCpService.updateDept();
    }
}