Browse Source

update

tmp
DengBiao 10 months ago
parent
commit
e5fd92c34b
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/admin/hdl/hdl_audit_center.go

+ 3
- 0
app/admin/hdl/hdl_audit_center.go View File

@@ -14,6 +14,7 @@ import (
"applet/app/utils/logx" "applet/app/utils/logx"
"errors" "errors"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"time"
) )


func CentralKitchenForSchoolOrderRefundList(c *gin.Context) { func CentralKitchenForSchoolOrderRefundList(c *gin.Context) {
@@ -138,6 +139,7 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context) {
return return
} }
cache.Set(md.AuditLockKeyForCentralKitchenLockKey, "running") cache.Set(md.AuditLockKeyForCentralKitchenLockKey, "running")
utils.FilePutContents("DealCentralKitchenForSchoolOrderRefundAudit", "退款处理,开始时间:::"+time.Now().Format("2006-01-02 15:04:05"))


//先将所有申请单改成 审核通过 状态 //先将所有申请单改成 审核通过 状态
session := db.Db.NewSession() session := db.Db.NewSession()
@@ -235,6 +237,7 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context) {
db.Db.In("id", req.Ids).Cols("memo", "state").Update(&m) db.Db.In("id", req.Ids).Cols("memo", "state").Update(&m)
} }
cache.Del(md.AuditLockKeyForCentralKitchenLockKey) cache.Del(md.AuditLockKeyForCentralKitchenLockKey)
utils.FilePutContents("DealCentralKitchenForSchoolOrderRefundAudit", "退款处理,结束时间:::"+time.Now().Format("2006-01-02 15:04:05"))
}() }()
} }




Loading…
Cancel
Save