| | |
| | | import com.ltkj.LtkjApplication; |
| | | import com.ltkj.hosp.mapper.TestMapper; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.junit.Test; |
| | | import org.junit.runner.RunWith; |
| | |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | | import org.springframework.test.context.junit4.SpringRunner; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * @Company: 西安路泰科技有限公司 |
| | |
| | | @Slf4j |
| | | @EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class}) |
| | | public class lgTest { |
| | | |
| | | @Resource |
| | | private TestMapper testMapper; |
| | | @Test |
| | | public void lige() { |
| | | // List<String> a=new ArrayList<>(); |
| | | // a.add("ozImg61ibpygYZNRWLqtrdpoICh4"); |
| | | //// a.add("ozImg66H5FbsXzzAHto5Ue_SN5W4"); |
| | | //// a.add("ozImg64_ViFuhCWvnwLtMWyUCz7g"); |
| | | //// a.add("ozImg61ibpygYZNRWLqtrdpoICh4"); |
| | | // |
| | | // for (String s : a) { |
| | | // WxUtil.sendSubscribeMessage(s); |
| | | // } |
| | | //String openid = "o524m6a1xomIOW5fymo7WmE-z3Dg";//需要该用户已经授权过该订阅消息才能发送 |
| | | |
| | | |
| | | } |
| | | |