xiaoyong931011
2022-09-20 ccaa5b832d9a741b1c1ca97130205cf25450c86a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package cc.mrbird.febs.pay.service.impl;
 
import cc.mrbird.febs.pay.model.RefundReqData;
import cc.mrbird.febs.pay.util.WechatConfigure;
 
/**
 * User: rizenguo
 * Date: 2014/10/29
 * Time: 16:04
 */
public class RefundService extends BaseService{
 
    public RefundService() throws IllegalAccessException, InstantiationException, ClassNotFoundException {
        super(WechatConfigure.REFUND_API, WechatConfigure.HttpsRequestClassName2);
    }
 
    /**
     * 请求支付查询服务
     * @return API返回的XML数据
     * @throws Exception
     */
    public String request(RefundReqData refundReqData) throws Exception {
 
        //--------------------------------------------------------------------
        //发送HTTPS的Post请求到API地址
        //--------------------------------------------------------------------
        String responseString = sendPost(refundReqData);
 
        return responseString;
    }
 
 
}