Explorar el Código

人员审核改为ai审核直接通过

penghao hace 3 meses
padre
commit
f25c84cad4

+ 4 - 4
alien-store/src/main/java/shop/alien/store/service/impl/StoreStaffConfigServiceImpl.java

@@ -243,15 +243,15 @@ public class StoreStaffConfigServiceImpl implements StoreStaffConfigService {
                             (videoAuditResult == null || videoAuditResult.isPassed());
 
         // 根据 AI 审核结果更新状态
-        // 审核通过:状态保持为"0"(审核中),等待人工审核
+        // 审核通过:状态保持为"1"(审核通过)
         // 审核失败:状态设置为"2"(审核拒绝)
         StoreStaffConfig auditUpdate = new StoreStaffConfig();
         auditUpdate.setId(staffId);
         if (allPassed) {
-            // AI审核通过,状态保持为"审核中"(0),等待人工审核
-            auditUpdate.setStatus("0");
+            // AI审核通过,状态保持为"审核中"(1)
+            auditUpdate.setStatus("1");
             auditUpdate.setRejectionReason(null);
-            log.info("人员AI审核通过,状态保持为审核中,等待人工审核:staffId={}", staffId);
+            log.info("人员AI审核通过,状态设置为审核通过:staffId={}", staffId);
         } else {
             // AI审核失败,状态设置为"审核拒绝"(2)
             // 收集所有失败原因