| | |
| | | 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; |
| | |
| | | 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(); |
| | | } |
| | | |
| | | } |