1
935090232@qq.com
2020-12-01 611146e69aaa62296cf84f2ccb5aca5ebba17677
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;
    }
}