yuhaitao14 7 years ago
parent
commit
578bc5becb

+ 1 - 1
shop/src/main/java/com/zskk/shop/controller/h5/H5BuyOrderController.java

@@ -105,7 +105,7 @@ public class H5BuyOrderController extends AbstractController{
 	
 	
 	@RequestMapping("/paySuccess")
 	@RequestMapping("/paySuccess")
 	public String paySuccess(Model model){
 	public String paySuccess(Model model){
-		return "/h5/";
+		return "/h5/paySuccess";
 	}
 	}
 	
 	
 	@RequestMapping("/mypayedorders")
 	@RequestMapping("/mypayedorders")

+ 1 - 1
shop/src/main/java/com/zskk/shop/service/UserCenterService.java

@@ -124,7 +124,7 @@ public class UserCenterService {
 		params.put("describe", goods.getDescribe());
 		params.put("describe", goods.getDescribe());
 		params.put("money", order.getTotalPrice().toString());
 		params.put("money", order.getTotalPrice().toString());
 		params.put("callback", myhost + "payed");
 		params.put("callback", myhost + "payed");
-		params.put("redirect", myhost + "h5/paySuccess");
+		params.put("redirect", myhost + "h5/buy/paySuccess");
 		params.put("extend", "");
 		params.put("extend", "");
 		params.put("sign", this.sign(params));
 		params.put("sign", this.sign(params));
 		
 		

+ 18 - 3
shop/src/main/resource/templates/h5/paySuccess.html

@@ -1,10 +1,25 @@
 <!DOCTYPE html>
 <!DOCTYPE html>
 <html>
 <html>
 <head>
 <head>
-<meta charset="UTF-8">
-<title>Insert title here</title>
+<title>昆仑医疗</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="viewport"
+	content="width=device-width, initial-scale=1.0, user-scalable=no" />
+<style type="text/css">
+.content {
+	text-align: center;
+	margin-top: 100px;
+}
+
+.title {
+	margin-top: 20px;
+}
+</style>
 </head>
 </head>
 <body>
 <body>
-支付成功
+	<div class="content title">
+	<h1>支付成功!</h1>
+	<h3>返回<a href="/h5/index">首页</a></h3>
+	</div>
 </body>
 </body>
 </html>
 </html>