Explorar el Código

update

add_mode
DengBiao hace 1 año
padre
commit
143cbd7c7a
Se han modificado 1 ficheros con 4 adiciones y 5 borrados
  1. +4
    -5
      app/admin/svc/order/svc_central_kitchen_for_school_order.go

+ 4
- 5
app/admin/svc/order/svc_central_kitchen_for_school_order.go Ver fichero

@@ -9,7 +9,6 @@ import (
svc2 "applet/app/customer/svc"
"applet/app/db"
model2 "applet/app/db/model"
"applet/app/e"
"applet/app/enum"
svc3 "applet/app/svc"
"applet/app/utils"
@@ -301,10 +300,10 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context, req md.CentralKitch

//调用微信进行退款
if !cfg.Prd { //TODO::正式环境暂不开启微信退款
client, err := svc3.NewWxPayClient(c) //初始化微信连接
if err != nil {
e.OutErr(c, e.ERR, err.Error())
return
client, err1 := svc3.NewWxPayClient(c) //初始化微信连接
if err1 != nil {
_ = session.Rollback()
return err1
}
wxSvc := refunddomestic.RefundsApiService{Client: client}
for k, v := range dealReturnOrdMapForWx {


Cargando…
Cancelar
Guardar