You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
994 B
76 lines
994 B
package com.ruoyi.common.constant; |
|
|
|
/** |
|
* 通用常量信息 |
|
* |
|
* @author ruoyi |
|
*/ |
|
public interface Constants { |
|
|
|
/** |
|
* UTF-8 字符集 |
|
*/ |
|
String UTF8 = "UTF-8"; |
|
|
|
/** |
|
* GBK 字符集 |
|
*/ |
|
String GBK = "GBK"; |
|
|
|
/** |
|
* www主域 |
|
*/ |
|
String WWW = "www."; |
|
|
|
/** |
|
* http请求 |
|
*/ |
|
String HTTP = "http://"; |
|
|
|
/** |
|
* https请求 |
|
*/ |
|
String HTTPS = "https://"; |
|
|
|
/** |
|
* 通用成功标识 |
|
*/ |
|
String SUCCESS = "0"; |
|
|
|
/** |
|
* 通用失败标识 |
|
*/ |
|
String FAIL = "1"; |
|
|
|
/** |
|
* 登录成功 |
|
*/ |
|
String LOGIN_SUCCESS = "Success"; |
|
|
|
/** |
|
* 注销 |
|
*/ |
|
String LOGOUT = "Logout"; |
|
|
|
/** |
|
* 注册 |
|
*/ |
|
String REGISTER = "Register"; |
|
|
|
/** |
|
* 登录失败 |
|
*/ |
|
String LOGIN_FAIL = "Error"; |
|
|
|
/** |
|
* 验证码有效期(分钟) |
|
*/ |
|
Integer CAPTCHA_EXPIRATION = 2; |
|
|
|
/** |
|
* 令牌 |
|
*/ |
|
String TOKEN = "token"; |
|
|
|
} |
|
|
|
|