wkyuer 8 ヶ月 前
コミット
c254c4ad7e

+ 3 - 0
src/jfw/front/returnMoneyPage.go

@@ -158,7 +158,10 @@ func getReturnPayDetail(token string) (map[string]interface{}, error) {
 	)
 	if status > 0 {
 		return nil, fmt.Errorf("<p>您已完成支付!</p>")
+	} else if status == -1 {
+		return nil, fmt.Errorf("<p>支付二维码已过期,请联<br>系您的客户经理重新提供</p>")
 	}
+
 	if expire, err := time.ParseInLocation(time.DateTime, expire_time, time.Local); err == nil {
 		if time.Now().After(expire) {
 			go public.Mysql.Update("return_money_online", map[string]interface{}{"token": token, "status": 0}, map[string]interface{}{"status": -1})

+ 1 - 0
src/web/templates/common/returnMoney/wxReturnMoney.html

@@ -185,6 +185,7 @@
                                 iconHide: true,
                                 duration: 1500
                               })
+                              location.reload();
                             }
                           })
                         },