use of me.chanjar.weixin.mp.bean.result.WxMpQrCodeTicket in project weixin-java-tools by chanjarster.
the class WxMpQrCodeAPITest method testQrCodeCreateLastTicket.
public void testQrCodeCreateLastTicket() throws WxErrorException {
WxMpQrCodeTicket ticket = wxService.qrCodeCreateLastTicket(1);
Assert.assertNotNull(ticket.getUrl());
Assert.assertNotNull(ticket.getTicket());
Assert.assertTrue(ticket.getExpire_seconds() == -1);
}
Aggregations