wzy
2020-12-26 2cf928a22b6cf8ea7a29f29127ffc333c73b0bca
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.matrix.component.wechat.externalInterface.service;
 
import com.matrix.component.wechat.externalInterface.common.WechatConfigure;
import com.matrix.component.wechat.externalInterface.protocol.payComProtocol.JsApiPayComReqData;
import com.matrix.component.wechat.externalInterface.protocol.rsaProtocal.JsApiRSAReqData;
 
public class JsApiGetPublicKeyService extends BaseService {
 
    public JsApiGetPublicKeyService() throws ClassNotFoundException, IllegalAccessException, InstantiationException {
        super(WechatConfigure.PUBLIC_KEY_GET_API, WechatConfigure.HttpsRequestClassName2);
    }
 
    public String request(JsApiRSAReqData jsApiRSAReqData) throws Exception {
 
        String responseString = sendPost(jsApiRSAReqData);
 
        return responseString;
    }
}