Ftputil.java
2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package com.thinkgem.jeesite.common.utils.ftp;
public class Ftputil {
public static Integer URLOUTTIME = 0;
public static String PASSWORD = "";
public static String uploadFile = "";
//企业微信用户认证地址
public static String QYWX_OAUTH2_URL = "";
//企业微信API访问地址
public static String QYWX_API_URL = "";
//企业微信应用app域名
public static String QYWX_APP_URL="";
// 上传图片文件大小
public static final Integer IMAGE_FTP_MAXSIZE=5*1024*1024;
// 上传文档文件大小
public static final Integer WORD_FTP_MAXSIZE=10*1024*1024;
// 上传Excel文件大小
public static final Integer EXCEL_FTP_MAXSIZE=8*1024*1024;
//上传音频文件大小
public static final Integer MEDIA_FTP_MAXSIZE=100*1024*1024;
/****
*
* 一窗受理收件正式配置
*
*
* *****/
//FTP服务器IP地址
public static final String IMAGE_FTP_IP="172.16.56.30";//"121.42.24.5";
//FTP服务器端口
public static final Integer IMAGE_FTP_PORT=21;//9099;
//FTP用户名
public static final String IMAGE_FTP_USERNAME="hzbdc";//"langzhi";
//FTP密码
public static final String IMAGE_FTP_USERPWD="1qaz2WSX";//"langzhi20140901";
//FTP默认工作路径
public static final String FILE_FTP_DEFAULTDIREECTORY="/";//"nightplay";
//企业微信 获取token的方法名称
public static String METHOD_QYWX_TOKEN ="gettoken";
//企业微信获取用户信息的方法名称
public static String METHOD_QYWX_GETUSERID ="user/getuserinfo";
//企业微信获取用户信息的方法名称
public static String METHOD_QYWX_SENDMSG ="message/send";
//企业微信认证用户方法名称
public static String METHOD_QYWX_OAUTH ="connect/oauth2/authorize";
//session 超时时间 单位s
public static Integer Session_Timeout = 120;
//
public static String app_name="devplat";
public static String ERROR_URL = "error";
//登陆地址
public static String LOGIN_URL = "login";
public static String REFRESH_URL = "freshToken";
//测试模式
public static Boolean istest = true;
}