Browse Source

取消支付失败页面

xuzhiheng 5 years ago
parent
commit
f850053465
2 changed files with 0 additions and 12 deletions
  1. 0 6
      src/jfw/course/course_wx.go
  2. 0 6
      src/jfw/modules/app/src/app/front/course.go

+ 0 - 6
src/jfw/course/course_wx.go

@@ -17,7 +17,6 @@ type CourseInfoWX struct {
 	optionPay      xweb.Mapper `xweb:"/weixin/pay/optionPay"`            //支付方式选择
 	applyInvoice   xweb.Mapper `xweb:"/swordfish/course/applyInvoice"`   //开发票
 	paySuccess     xweb.Mapper `xweb:"/swordfish/course/paySuccess"`     //支付成功
-	payError       xweb.Mapper `xweb:"/swordfish/course/payError"`       //支付失败
 	reseverCourse  xweb.Mapper `xweb:"/weixin/pay/reseverCourse"`        //预定课程
 	refund         xweb.Mapper `xweb:"/swordfish/course/refund"`         //退款
 	refundVerify   xweb.Mapper `xweb:"/swordfish/course/refundVerify"`   //退款审核
@@ -85,11 +84,6 @@ func (c *CourseInfoWX) PaySuccess() error {
 	return c.Render("/course/weixin/paySuccess.html")
 }
 
-//支付失败
-func (c *CourseInfoWX) PayError() error {
-	return c.Render("/course/weixin/payError.html")
-}
-
 //预定课程
 func (c *CourseInfoWX) ReseverCourse() error {
 	courseId := c.GetString("id")

+ 0 - 6
src/jfw/modules/app/src/app/front/course.go

@@ -16,7 +16,6 @@ type CourseInfo struct {
 	optionPay      xweb.Mapper `xweb:"/jyapp/course/optionPay"`      //支付方式选择
 	applyInvoice   xweb.Mapper `xweb:"/jyapp/course/applyInvoice"`   //开发票
 	paySuccess     xweb.Mapper `xweb:"/jyapp/course/paySuccess"`     //支付成功
-	payError       xweb.Mapper `xweb:"/jyapp/course/payError"`       //支付失败
 	reseverCourse  xweb.Mapper `xweb:"/jyapp/course/reseverCourse"`  //预定课程
 	refund         xweb.Mapper `xweb:"/jyapp/course/refund"`         //退款
 	refundVerify   xweb.Mapper `xweb:"/jyapp/course/refundVerify"`   //退款审核
@@ -66,11 +65,6 @@ func (c *CourseInfo) PaySuccess() error {
 	return c.Render("/course/paySuccess.html")
 }
 
-//支付失败
-func (c *CourseInfo) PayError() error {
-	return c.Render("/course/payError.html")
-}
-
 //预定课程
 func (c *CourseInfo) ReseverCourse() error {
 	courseId := c.GetString("id")