新增抽出货币类型接口,国家地区代码

This commit is contained in:
egan
2019-04-16 23:14:28 +08:00
parent 66ffdc5782
commit 1b7b2f7c90
13 changed files with 227 additions and 44 deletions

View File

@@ -282,7 +282,7 @@ public class AliPayService extends BasePayService<AliPayConfigStorage> {
String bizContent = (String) orderInfo.remove(BIZ_CONTENT);
formHtml.append(getReqUrl()).append("?").append(UriVariables.getMapToParameters(orderInfo))
.append("\" method=\"").append(method.name().toLowerCase()).append("\">");
formHtml.append("<input type=\"hidden\" name=\"biz_content\" value=\'" + bizContent + "\'/>");
formHtml.append("<input type=\"hidden\" name=\"biz_content\" value=\'" ).append( bizContent ).append( "\'/>");
formHtml.append("</form>");
formHtml.append("<script>document.forms['_alipaysubmit_'].submit();</script>");

View File

@@ -508,6 +508,17 @@ public class AliPayService extends BasePayService<AliPayConfigStorage> {
return null;
}
/**
* 获取支付请求地址
*
* @param transactionType 交易类型
* @return 请求地址
*/
@Override
public String getReqUrl(TransactionType transactionType) {
return null;
}
/**
* 获取biz_content。请求参数的集合 不包含下载账单