package cn.quantgroup.customer.constant;


import com.google.gson.Gson;

import java.text.DecimalFormat;

public interface Constant {

    String HTTP = "http";
    String HTTPS = "https";

    String PASSWORD_SALT = "_lkb";
    String SPRING_SECURITY_CONTEXT = "SPRING_SECURITY_CONTEXT";
    int COOKIE_AND_SESSION_EXPIRE_TIMEOUT_SECONDS = 24 * 60 * 60;

    String LOGIN_SUCCESS = "登录成功";
    String LOGOUT_SUCCESS = "登出成功";
    String LOGIN_FAIL = "登录失败";
    String NAME_OR_PWD_ERROR = "用户名或密码错误";

    String SUCCESS_CODE = "0000";

    DecimalFormat DECIMAL_FORMAT2 = new DecimalFormat("#####0.00");

    Gson GSON = new Gson();

}
