银联基础完成

This commit is contained in:
egan
2017-12-10 22:29:53 +08:00
parent bf8c4462d7
commit 13ad1545b6
12 changed files with 578 additions and 1509 deletions

View File

@@ -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));
}
}*/
/**
* 交易关闭接口