File tree Expand file tree Collapse file tree
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/tp/service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -535,14 +535,18 @@ public interface WxCpTpService {
535535 *
536536 * @return WxCpTpMessageService wx cp tp message service
537537 */
538- WxCpTpMessageService getWxCpTpMessageService ();
538+ default WxCpTpMessageService getWxCpTpMessageService () {
539+ throw new UnsupportedOperationException ("WxCpTpMessageService is not supported" );
540+ }
539541
540542 /**
541543 * set message service
542544 *
543545 * @param wxCpTpMessageService the message service
544546 */
545- void setWxCpTpMessageService (WxCpTpMessageService wxCpTpMessageService );
547+ default void setWxCpTpMessageService (WxCpTpMessageService wxCpTpMessageService ) {
548+ throw new UnsupportedOperationException ("WxCpTpMessageService is not supported" );
549+ }
546550
547551 WxCpTpXmlMessage fromEncryptedXml (String encryptedXml ,
548552 String timestamp , String nonce , String msgSignature );
You can’t perform that action at this time.
0 commit comments