57 lines
2.1 KiB
Plaintext
57 lines
2.1 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=utf-8"
|
|
pageEncoding="utf-8"%>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>锋迷网-在线支付</title>
|
|
</head>
|
|
<%@ include file="header.jsp" %>
|
|
<body>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="">
|
|
<div class="panel panel-default" style="margin: 0 auto;width: 95%;">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title"><span class="glyphicon glyphicon-yen"></span> 在线支付
|
|
<span class="pull-right"><a href="${pageContext.request.contextPath }/getOrderList">返回订单列表</a>
|
|
</span>
|
|
</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<form action="http://ceshi.chenjunbo.xin/payment/weixinpay" method="get">
|
|
<table class="table table-bordered table-striped table-hover">
|
|
<tr>
|
|
<td colspan="1">订单号:</td>
|
|
<td colspan="3"><input type="text" class="form-control" name="orderId" value="<%=request.getParameter("oid")%>" readonly="readonly"></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="1">支付金额:</td>
|
|
<td colspan="3">
|
|
<div class="input-group" style="width: 200px;">
|
|
<input type="text" class="form-control" name="price" value="<%=request.getParameter("omoney")%>">
|
|
<div class="input-group-addon"><span class="glyphicon glyphicon-yen"></span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="1">商品介绍:</td>
|
|
<td colspan="3"><input type="text" class="form-control" name="body" value="xiaomi" readonly="readonly">
|
|
<!-- 设置 程序回传到的链接地址 -->
|
|
<input type="hidden" class="form-control" name="url" value="http://localhost:8080/xiaomi/paySuccess">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div class="pull-right" style="margin-right: 30px;">
|
|
<input type="submit" value="确认支付" class="btn btn-warning btn-lg">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 底部 -->
|
|
<%@ include file="footer.jsp"%>
|
|
</body>
|
|
</html> |