package com.jfinal.club.util;

import com.jfinal.core.JFinal;

/**
 * @descriptions: 常量工具类
 * @author: lc
 * @date: 2020-05-09 17:48:14
 * @Version: 1.0
 **/
public class Cons {

    /**
     * 密码加密盐
     */
    public static final String SALT = "#priframework";


    public static final String JSESSIONID_ADMIN = "ADMINJSESSIONID";
    public static final String USERID = "hms_userid";
    public static final String COOKIEOPENID = "hms_openid";
    public static final String COOKIEHEADIMG = "hms_headimg";
    public static final String COOKIENICKNAME = "hms_nickname";

    public static final String RETURNURL = "returnUrl";

    public static final String EXPORT_SAMPLE = "/files/样品申请表.xls";
    public static final String EXPORT_USERS = "/files/会员信息表.xls";
    public static final String EXPORT_DOWNLOADRECORD = "/files/下载统计.xls";


    /**
     * 项目名称
     */
    public static final String ContextPath = JFinal.me().getContextPath();

    /**
     * 案列图片夹
     */
    public static final String DEMOIMG = "/demo/";
    public static final String IDEAS = "/ideas/";
    public static final String IDEASTYPE = "/ideasType/";
    public static final String AVATAR = "/avatar/";
    public static final String FILES = "/files/";

    public static final Integer ADMIN_PAGESIZE = 20;
    public static final Integer FRONT_PAGESIZE = 10;
}
