DengBiao 9 meses atrás
pai
commit
d023b8c7b5
2 arquivos alterados com 7 adições e 7 exclusões
  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 Ver arquivo

@@ -317,7 +317,7 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context, req md.CentralKitch
_ = session.Rollback()
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
}
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 Ver arquivo

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


Carregando…
Cancelar
Salvar