fix(camel_oil): 优化卡密绑定任务的日志输出
- 移除卡密绑定任务开始时的info级别日志 - 移除无待绑定订单时的debug级别日志 - 减少日志冗余,优化日志使用策略
This commit is contained in:
@@ -304,8 +304,6 @@ func (s *sCamelOil) CronVerifyCodeCheckTask(ctx context.Context) error {
|
||||
// CronCardBindingTask 卡密绑定定时任务 - 由cron调度器定期调用
|
||||
// 流程:处理已支付但未绑定 Token 的订单,进行卡密绑定
|
||||
func (s *sCamelOil) CronCardBindingTask(ctx context.Context) error {
|
||||
glog.Info(ctx, "开始执行卡密绑定任务")
|
||||
|
||||
// 查询已支付但未绑定 Token 的订单
|
||||
var orders []*entity.V1CamelOilOrder
|
||||
err := dao.V1CamelOilOrder.Ctx(ctx).DB(config.GetDatabaseV1()).
|
||||
@@ -322,7 +320,6 @@ func (s *sCamelOil) CronCardBindingTask(ctx context.Context) error {
|
||||
}
|
||||
|
||||
if len(orders) == 0 {
|
||||
glog.Debug(ctx, "无待绑定订单")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user