dler() {
return this.subscribeHandler;
}
protected UnsubscribeHandler getUnsubscribeHandler() {
return this.unsubscribeHandler;
}
protected AbstractHandler getLocationHandler() {
return this.locationHandler;
}
protected MsgHandler getMsgHandler() {
return this.msgHandler;
}
protected AbstractHandler getScanHandler() {
return scanHandler;
}
/**
* 为生成二维码准备ticket
* @return
*/
public WxMpQrCodeTicket generateTicketForTwoDimensionCode(Long customerId) throws WxErrorException {
//永久二维码
return this.getQrcodeService().qrCodeCreateLastTicket(customerId.intValue());
//临时二维码
//return this.getQrcodeService().qrCodeCreateTmpTicket(customerId.intValue(), 2592000);
}
}
|