Ftputil.java 2.04 KB
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;
	
}