mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-06-04 15:39:37 +08:00
银联基础完成
This commit is contained in:
@@ -13,9 +13,6 @@ import com.egzosn.pay.demo.entity.PayType;
|
||||
import com.egzosn.pay.demo.request.QueryOrder;
|
||||
import com.egzosn.pay.demo.service.ApyAccountService;
|
||||
import com.egzosn.pay.demo.service.PayResponse;
|
||||
import com.egzosn.pay.union.api.UnionPayService;
|
||||
import com.egzosn.pay.union.enums.UnionTransactionType;
|
||||
import com.egzosn.pay.union.request.UnionQueryOrder;
|
||||
import com.egzosn.pay.wx.bean.WxTransactionType;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
@@ -344,13 +341,13 @@ public class PayController {
|
||||
* @param order 订单的请求体
|
||||
* @return 返回查询回来的结果集,支付方原值返回
|
||||
*/
|
||||
@RequestMapping("unionRefundOrConsumeUndo")
|
||||
/* @RequestMapping("unionRefundOrConsumeUndo")
|
||||
public Map<String, Object> unionQuery(UnionQueryOrder order,String transactionType) {
|
||||
PayResponse payResponse = service.getPayResponse(order.getPayId());
|
||||
UnionPayService service = (UnionPayService)payResponse.getService();
|
||||
|
||||
return service.unionRefundOrConsumeUndo(order,UnionTransactionType.valueOf(transactionType));
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* 交易关闭接口
|
||||
|
||||
Reference in New Issue
Block a user