Skip to content

Commit 97c8516

Browse files
binarywangCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 1f9f82c commit 97c8516

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

weixin-java-cp/src/main/java/me/chanjar/weixin/cp/tp/service/WxCpTpService.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)