| 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; | 
|     } | 
| } |