From b59a2c07656a7dc9ed7031ce8b78b47f43327ab7 Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期二, 17 十一月 2026 16:10:42 +0800
Subject: [PATCH] update
---
jrj/project/business/GDN/maint.Document.GDN.v3.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/jrj/project/business/GDN/maint.Document.GDN.v3.cpp b/jrj/project/business/GDN/maint.Document.GDN.v3.cpp
index bfddddc..fd78949 100644
--- a/jrj/project/business/GDN/maint.Document.GDN.v3.cpp
+++ b/jrj/project/business/GDN/maint.Document.GDN.v3.cpp
@@ -193,7 +193,8 @@
KXMLDOMNode t = items.item(0);
xstring FileFormat=L"";
if(t.selectSingleNode(L"FileFormat"))FileFormat=t.selectSingleNode(L"FileFormat").text();
- if(FileFormat !=L"pdf" && FileFormat !=L"PDF" && FileFormat != L"xlsx" && FileFormat != L"xls" && FileFormat != L"docx" && FileFormat != L"doc" )
+ if(FileFormat !=L"pdf" && FileFormat !=L"PDF" && FileFormat != L"xlsx" && FileFormat != L"xls" && FileFormat != L"docx" && FileFormat != L"doc"
+ && FileFormat != L"RAR" && FileFormat != L"rar" && FileFormat != L"ZIP" && FileFormat != L"zip")
{
alert(L"请上传正确格式的文件");
return 0;
--
Gitblit v1.9.3