package com.nbclass.activity.constant;

import com.nbclass.util.CommonUtils;

/**
 * 项目常量
 * @author Leon
 * @datetime 2019年4月11日 上午11:22:59
 */
public class Const {

	/**
	 * 当前期数
	 */
	public volatile static Integer period = 1;

	/**
	 * 测试环境appid
	 */
	public static final String test_appid = "2018050300000578";
	/**
	 * 生产环境appid
	 */
	public static final String product_appid = "2018081400000135";

	/**
	 * 测试环境
	 */
	public static final String test_client_id = "P_XGLBDHB";
	public static final String test_client_secret = "tX6Vwv72";
	public static final String test_api_host = "https://test-api.pingan.com.cn:20443";

	/**
	 * 正式环境
	 */
	public static final String product_client_id = "P_XGLKXSW";
	public static final String product_client_secret = " E1Fhw56u";
	public static final String product_api_host = "http://api.pingan.com.cn";

	/**
	 * 活动结束时间
	 */
	public static long hd_endtime = CommonUtils.getSimpleDate("2020-03-31 23:59:59").getTime();

	/**
	 * 信广龙企业微信接口
	 */
	public static final String QYWX_API_DOMAIN = "http://wx.szxgl.cn/qywx";
	
	/**
	 * 支持的上传图片后缀
	 */
	public static final String UPLOAD_IMAGE_SUFFIX = ".gif,.jpg,.jpeg,.png,.bmp";
	
	/**
	 * 支持的上传视频后缀
	 */
	public static final String UPLOAD_VIDEO_SUFFIX = ".mp4,.mov,.mkv,.rmvb,.rm,.avi,.flv";
	
}
