public interface WeiXinService
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
Access_Type_Normal |
static String |
Access_Type_Page |
RecvMessage recv(InputStream in) throws org.jdom.JDOMException, IOException
org.jdom.JDOMExceptionIOExceptionvoid send(SendMessage msg, OutputStream out) throws org.jdom.JDOMException, IOException
org.jdom.JDOMExceptionIOExceptionSendMessage builderSendByRecv(RecvMessage msg)
String createUnscribeCodeRequestUrl(String appid, String secret, String url)
ResponseEntity wxaCode2Session(String appid, String secret, String code)
appid - secret - code - List<WXUser> batchgetUserInfo(String appid, String secret, List<String> openidList)
String sendTemplateMessage(String appid, String secret, String content, boolean asynchrony)
SendMessage processMessage(SendMessage sendMsg, String url)
String sendCustomMessage(String appid, String secret, String content, boolean asynchrony)
String sendAppletMessage(String appid, String secret, String content, boolean asynchrony)
ResponseEntity getPaidUnionId(AppConfigParam appConfigParam, RequestParam requestParam)
appid - secret - openId - openId - String getWxaCodeUnlimited(AppConfigParam appConfigParam, WxaCodeParam wxaCodeParam)
appConfigParam - appid信息wxaCodeParam - 二维码配置信息String decryptWxa(String appId, String encryptedData, String sessionKey, String iv)
appId - appid信息encryptedData - 加密字符串sessionKey - sessionKeyiv - ivString uploadMedia(String appid, String secret, File file, String type)
appid - secret - file - type - String uploadNews(String appid, String secret, String content)
appid - secret - content - void massSendNewsMessageByOpenID(String appid, String secret, String content)
appid - secret - content - String generateMassMPNewsMessage(String mediaID, List<String> openIDS)
mediaID - openIDS - String generateMassTextMessage(String text, List<String> openIDS)
text - openIDS - String generateMassVoiceMessage(String mediaID, List<String> openIDS)
mediaID - openIDS - String generateMassImgMessage(String mediaID, List<String> openIDS)
mediaID - openIDS - OpenIDList getOpenIDList(String appid, String secret, String next_openid)
void updateAccessToken()
ErrorMsg delKfAccount(String appid, String secret, String kfAccount)
kfAccount - 客服账号RecKfSessionEntity getKfSession(String appid, String secret, String openid)
openid - 客户openidList<RecKfSessionEntity> getKfSessionList(String appid, String secret, String kfAccount)
kfAccount - 客服账号RecKfSession getWaitcaseKfSessionList(String appid, String secret)
Map<String,Object> partnerPayV3(PayParam payParam, String type)
payParam - 支付配置type - 支付类型()Map<String,Object> appPayV3(RequestParam payParam)
Map<String,Object> refund(RefundInfo refundInfo, String type)
String decryptV3(String associatedData, String nonce, String ciphertext) throws GeneralSecurityException, IOException
associatedData - nonce - ciphertext - GeneralSecurityExceptionIOExceptionvoid downloadPlatformCertificate()
String profitSharing(String subMchId, String transactionId, String outOrderNo, List<Receiver> receivers, String subAppId)
transactionId - 微信支付订单号outOrderNo - 商户系统内部的分账单号,在商户系统内部唯一(单次分账、多次分账、完结分账应使用不同的商户分账单号),同一分账单号多次请求等同一次。只能是数字、大小写字母_-|*@subMchId - 子商户号receivers - 分账接收方subAppId - 特约商户appidString multiProfitSharing(String subMchId, String appId, String transactionId, String outOrderNo, List<Receiver> receivers, String subAppId)
transactionId - 微信支付订单号outOrderNo - 商户系统内部的分账单号,在商户系统内部唯一(单次分账、多次分账、完结分账应使用不同的商户分账单号),同一分账单号多次请求等同一次。只能是数字、大小写字母_-|*@subMchId - 子商户号receivers - 分账接收方subAppId - 特约商户appidString profitSharingAddReceiver(String subMchId, Receiver receiver, String subAppId)
subMchId - 子商户号receivers - 分账接收方subAppId - 特约商户appidString profitSharingRemoveReceiver(String subMchId, Receiver receiver, String subAppId)
subMchId - 子商户号receiver - 分账接收方subAppId - 特约商户appidString profitSharingFinish(String subMchId, String transactionId, String outOrderNo, String description)
transactionId - 微信支付订单号outOrderNo - 商户系统内部的分账单号,在商户系统内部唯一(单次分账、多次分账、完结分账应使用不同的商户分账单号),同一分账单号多次请求等同一次。只能是数字、大小写字母_-|*@description - 描述subMchId - 特约商户号String profitSharingMerchantRatioQuery(String subMchId)
subMchId - 特约商户号String profitSharingOrderAmountQuery(String mchId, String transactionId)
transactionId - 微信支付订单号String profitSharingReturn(String appId, String subAppId, String subMchId, String orderId, String outOrderNo, String outReturnNo, String returnAccount, Integer returnAmount, String description)
String refund(String appId, String subMchId, String transactionId, String outTradeNo, String outRefundNo, Integer totalFee, Integer refundFee, String notifyUrl)
String sendSubscribeMessage(String appId, SubscribeMessage subscribeMessage)
subscribeMessage - 订阅消息参数Copyright © 2023. All rights reserved.