From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期二, 20 五月 2025 23:48:08 +0800
Subject: [PATCH] 修改文件上传类型限制

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/FtpConstants.java |   38 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/FtpConstants.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/FtpConstants.java
new file mode 100644
index 0000000..a225e38
--- /dev/null
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/FtpConstants.java
@@ -0,0 +1,38 @@
+package com.panzhihua.common.constants;
+
+/**
+ * @program: springcloud_k8s_panzhihuazhihuishequ
+ * @description: ftp
+ * @author: huang.hongfa weixin hhf9596 qq 959656820
+ * @create: 2020-11-30 13:39
+ **/
+public class FtpConstants {
+    /**
+     * ftp站点
+     */
+    public static final String FTPHOST = "47.104.148.185";
+    /**
+     * 端口号
+     */
+    public static final Integer FTPPORT = 22;
+    /**
+     * ftp访问用户名
+     */
+    public static final String FTPUSERNAME = "root";
+    /**
+     * ftp访问密码
+     */
+    public static final String FTPPASSWORD = "evanN7F2K5M6";
+    /**
+     * excel模板
+     */
+    public static final String FTPFILEPATH_MUBAN = "/mnt/data/ftp/muban/";
+    /**
+     * 党员保存
+     */
+    public static final String FTPFILEPATH_IDCARD = "/mnt/data/ftp/idcard/";
+    /**
+     * http访问路径
+     */
+    public static final String HTTP_URL = "http://image.panzhihua.nhys.cdnhxx.com/";
+}

--
Gitblit v1.7.1