feat: add facepp
CI / changes (push) Successful in 1m31s
CI / ad (push) Successful in 26s
CI / admin (push) Successful in 17s
CI / analysis (push) Successful in 24s
CI / bff (push) Successful in 16s
CI / chore (push) Successful in 14s
CI / equipment (push) Successful in 15s
CI / express (push) Successful in 13s
CI / factory (push) Successful in 13s
CI / message (push) Successful in 10s
CI / order (push) Successful in 10s
CI / payment (push) Successful in 11s
CI / percutaneous (push) Successful in 11s
CI / product (push) Successful in 12s
CI / record (push) Successful in 12s
CI / sale (push) Successful in 11s
CI / store (push) Successful in 11s
CI / support (push) Successful in 11s
CI / task (push) Successful in 10s
CI / user (push) Successful in 18s
CI / water (push) Successful in 13s
CI / wecom (push) Successful in 13s
CI / ws (push) Successful in 6s

This commit is contained in:
zzw
2026-10-27 17:17:43 +08:00
parent e1f28df1e1
commit 747ab25325
12 changed files with 1133 additions and 5 deletions
@@ -55,8 +55,8 @@ func ProcessUpload(ctx context.Context, payload analysisoss.CallbackPayload) err
logx.WithContext(ctx).Errorf("cache uploaded lights failed: %v", err)
}
if utils.GetConfigInt("switch.facepp") == utils.NumberOne {
logx.WithContext(ctx).Infof("facepp skip task_id=%s", payload.TaskId)
if utils.GetConfigInt("switch.facepp") == utils.NumberOne && coverPath != utils.StringEmpty {
go RunFacepp(payload.TaskId, pathRes.FinalDir)
}
if utils.GetConfigInt("switch.analysis") == utils.NumberOne {