Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
badeb21ae0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/customer/hdl/hdl_pay.go

+ 2
- 1
app/customer/hdl/hdl_pay.go View File

@@ -2,6 +2,7 @@ package hdl

import (
"applet/app/cfg"
enum2 "applet/app/customer/enum"
"applet/app/customer/lib/validate"
"applet/app/customer/md"
"applet/app/customer/svc"
@@ -135,7 +136,7 @@ func OrdState(c *gin.Context) {
return
}

if !cfg.Prd {
if !cfg.Prd && ord.PayWay == enum2.PayWayForAli {
if ord.State == enum.CentralKitchenForSchoolPackageOrdStateForWait {
//处于待支付状态,请求支付宝同步订单状态
sysCfgDb := db.SysCfgDb{}


Loading…
Cancel
Save