Helius
2020-12-27 c0691d2302bbaed2a47b2b703b83ed5bc204e397
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;
    }
}