|
|
@@ -141,19 +141,19 @@ public class StoreStaffAuditAsyncService {
|
|
|
// 收集所有失败原因
|
|
|
List<String> failureReasons = new ArrayList<>();
|
|
|
if (textImageAuditResult != null && !textImageAuditResult.isPassed()) {
|
|
|
- if (StringUtils.isNotEmpty(textImageAuditResult.getFailureReason())) {
|
|
|
- failureReasons.add("图文审核:" + textImageAuditResult.getFailureReason());
|
|
|
- } else {
|
|
|
+// if (StringUtils.isNotEmpty(textImageAuditResult.getFailureReason())) {
|
|
|
+// failureReasons.add("图文审核:" + textImageAuditResult.getFailureReason());
|
|
|
+// } else {
|
|
|
failureReasons.add("图文审核未通过");
|
|
|
- }
|
|
|
+// }
|
|
|
}
|
|
|
if (videoAuditResult != null && !videoAuditResult.isPassed()) {
|
|
|
// 业务要求:视频审核失败统一记录"视频内容违规"
|
|
|
failureReasons.add("视频内容违规");
|
|
|
}
|
|
|
|
|
|
-// String reason = failureReasons.isEmpty() ? "审核未通过" : String.join("; ", failureReasons);
|
|
|
- String reason = "审核未通过";
|
|
|
+ String reason = failureReasons.isEmpty() ? "审核未通过" : String.join("; ", failureReasons);
|
|
|
+// String reason = "审核未通过";
|
|
|
updateWrapper.set(StoreStaffConfig::getStatus, "2")
|
|
|
.set(StoreStaffConfig::getAuditTime, new Date())
|
|
|
.set(StoreStaffConfig::getRejectionReason, reason);
|