/// <summary> /// 获取支付宝开放平台的客户端实例 /// </summary> /// <param name="apiData">接口数据</param> /// <returns></returns> public virtual IAopClient GetAopClient(ApiData apiData) { var client = new DefaultAopClient( UseSandBox ? SandBoxAlipayGatewayUrl : AlipayGatewayUrl, apiData.AppId, apiData.GetPartnerKeyBody(), "json", "1.0", SignType, UseSandBox ? SandBoxAlipayPublicKey : AlipayPublicKey); return(client); }