|
@@ -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")
|