mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-31 04:49:54 +08:00
http请求增加请求头的实现方式
拆分网络代理与请求授权(auth)。
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
package com.egzosn.pay.common.api;
|
||||
|
||||
import com.egzosn.pay.common.bean.AuthPageType;
|
||||
import com.egzosn.pay.common.bean.PayOrder;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 高级支付接口
|
||||
* @author Actinia
|
||||
* @email hayesfu@qq.com
|
||||
* @date 2018/1/18
|
||||
*
|
||||
*/
|
||||
|
||||
public interface AdvancedPayService extends PayService{
|
||||
/**
|
||||
* 获取授权页面
|
||||
* @param payeeId 收款id
|
||||
* @param authPageType 授权类型
|
||||
* @return 返回请求结果
|
||||
*/
|
||||
String getAuthorizationPage(String payeeId,AuthPageType authPageType);
|
||||
|
||||
/**
|
||||
* 发起授权
|
||||
* @param payeeId 收款id
|
||||
* @param payOrder 订单信息
|
||||
* @return 返回请求结果
|
||||
*/
|
||||
Map<String ,Object> charges(String payeeId,PayOrder payOrder);
|
||||
}
|
||||
Reference in New Issue
Block a user