Browse Source

update

tmp
DengBiao 9 months ago
parent
commit
d023b8c7b5
2 changed files with 7 additions and 7 deletions
  1. +2
    -2
      app/admin/svc/order/svc_central_kitchen_for_school_order.go
  2. +5
    -5
      app/customer/hdl/hdl_demo.go

+ 2
- 2
app/admin/svc/order/svc_central_kitchen_for_school_order.go View File

@@ -317,7 +317,7 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context, req md.CentralKitch
_ = session.Rollback() _ = session.Rollback()
return err6 return err6
} }
time.Sleep(200 * time.Millisecond) //TODO::避免频繁调用
time.Sleep(100 * time.Millisecond) //TODO::避免频繁调用
} }


//调用微信进行退款 //调用微信进行退款
@@ -348,7 +348,7 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context, req md.CentralKitch
return err6 return err6
} }
fmt.Println(">>>>wxRefund<<<<", resp.Status) fmt.Println(">>>>wxRefund<<<<", resp.Status)
time.Sleep(200 * time.Millisecond) //TODO::避免频繁调用
time.Sleep(100 * time.Millisecond) //TODO::避免频繁调用
} }
//} //}




+ 5
- 5
app/customer/hdl/hdl_demo.go View File

@@ -162,11 +162,11 @@ func Demo(c *gin.Context) {
AliPrivateKey: sysCfg[enum.OpenAppletAppPrivateKey], AliPrivateKey: sysCfg[enum.OpenAppletAppPrivateKey],
AliPublicKey: sysCfg[enum.OpenAppletPublicKey], AliPublicKey: sysCfg[enum.OpenAppletPublicKey],
}, },
CertType: "A",
CertNo: "440881201010205523",
StudentName: "龙佩滢",
OutUserId: "1001",
SchoolStdCode: "12440403MB2D752515",
CertType: "1",
CertNo: "42122420101212373X",
StudentName: "陈柏中",
OutUserId: "6010",
SchoolStdCode: "3144003844",
}, &model.UserIdentity{}, "", "") }, &model.UserIdentity{}, "", "")
if err != nil { if err != nil {
e.OutErr(c, e.ERR, err.Error()) e.OutErr(c, e.ERR, err.Error())


Loading…
Cancel
Save