This commit is contained in:
ziming 2025-07-02 11:46:04 +08:00
parent 388ff8bac4
commit db551ab887
1 changed files with 2 additions and 1 deletions

View File

@ -184,7 +184,8 @@ func (this *VoucherBiz) Calculate(ctx context.Context, product *bo.ProductBo, wx
func (this *VoucherBiz) WarningSend(ctx context.Context, product *bo.ProductBo, wxResp *do.WxResp) error { func (this *VoucherBiz) WarningSend(ctx context.Context, product *bo.ProductBo, wxResp *do.WxResp) error {
if err := this.DingMixRepo.SendMessage(ctx, "券预算不足", formatAsCard(product, wxResp)); err != nil { title := fmt.Sprintf("券预算预警通知:%s", product.BatchName)
if err := this.DingMixRepo.SendMessage(ctx, title, formatAsCard(product, wxResp)); err != nil {
return err return err
} }