@@ -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::避免频繁调用 | |||||
} | } | ||||
//} | //} | ||||
@@ -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()) | ||||