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.
62 lines
891 B
62 lines
891 B
/** |
|
* 当前环境 |
|
* @type {string} |
|
*/ |
|
export const ENV = 'dev'; |
|
|
|
/** |
|
* 打开日志打印 |
|
* @type {boolean} |
|
*/ |
|
export const OPEN_LOG = true; |
|
|
|
/** |
|
* 首页路径 |
|
* @type {string} |
|
*/ |
|
export const INDEX_PATH = '/pages/Index/index'; |
|
|
|
/** |
|
* 登录页路径 |
|
* @type {string} |
|
*/ |
|
export const LOGIN_PATH = '/pages/Login/index'; |
|
|
|
/** |
|
* token字段 |
|
* @type {string} |
|
*/ |
|
export const TOKEN_FIELD = 'token'; |
|
|
|
/** |
|
* 用户信息字段 |
|
* @type {string} |
|
*/ |
|
export const USERINFO_FIELD = 'info'; |
|
|
|
/** |
|
* 页面信息字段 |
|
* @type {string} |
|
*/ |
|
export const PAGEINFO_FIELD = 'page_info'; |
|
|
|
/** |
|
* 列表分页数量 |
|
* @type {string} |
|
*/ |
|
export const LIMIT = '10'; |
|
|
|
/** |
|
* 默认列表请求数据 |
|
* @type {string} |
|
*/ |
|
export const DEFAULT_LIST_PAGE = { |
|
page:1, |
|
pageSize:LIMIT, |
|
}; |
|
|
|
/** |
|
* 默认列表请求数据 |
|
* @type {string} |
|
*/ |
|
export const UPLOAD_PATH = '/common/upload';
|
|
|