fix: xxl-job ctx不能删除

This commit is contained in:
wangxinyu 2024-12-06 16:34:40 +08:00
parent d90d746c6b
commit bb26a6676b
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@ func (s *CronService) ClearVeriCodeWrongTimes(ctx context.Context, param *xxl.Ru
return "vericode_wrong_times collection has been cleared" return "vericode_wrong_times collection has been cleared"
} }
func (s *CronService) UserRefundAuditTimes(param *xxl.RunReq) (msg string) { func (s *CronService) UserRefundAuditTimes(ctx context.Context, param *xxl.RunReq) (msg string) {
logger.Info("task %v param: %v log_id: %v", param.ExecutorHandler, param.ExecutorParams, xxl.Int64ToStr(param.LogID)) logger.Info("task %v param: %v log_id: %v", param.ExecutorHandler, param.ExecutorParams, xxl.Int64ToStr(param.LogID))
logger.Info("user_refund_audit_times collection...") logger.Info("user_refund_audit_times collection...")
err := _DefaultVas.UserRefundAuditTimes(&gin.Context{}) err := _DefaultVas.UserRefundAuditTimes(&gin.Context{})