瀏覽代碼

update

add_mode
DengBiao 1 年之前
父節點
當前提交
143cbd7c7a
共有 1 個文件被更改,包括 4 次插入5 次删除
  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 查看文件

@@ -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 {


Loading…
取消
儲存