合并云商品分支到 master 并适配插件结构

This commit is contained in:
chfei committed 2026-11-02 10:01:33 +08:00
commit 1fa91a9cfb
15 files changed
+968 -48

No files matched your search

@@ -0,0 +1,13 @@
using Microsoft.Extensions.DependencyInjection;
namespace Store.Modules.CloudProduct.Services;
public class GoodsViolationIndexJob(IServiceScopeFactory scopeFactory)
{
public async Task ProcessPendingAsync()
{
using var scope = scopeFactory.CreateScope();
await scope.ServiceProvider.GetRequiredService<GoodsViolationService>()
.DeleteViolationIndexesAsync();
}
}