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.
29 lines
465 B
29 lines
465 B
/**
|
|
* 全局常量,请避免使用魔法数字
|
|
*/
|
|
|
|
// 用户凭证名
|
|
const TOKEN_KEY = "msbPcToken";
|
|
|
|
// 订单状态
|
|
const ORDER_STATUS = {
|
|
WAIT_PAY: 1, // 待付款
|
|
WAIT_SEND: 3, //待发货
|
|
WAIT_RECEIVE: 4, // 待收货
|
|
};
|
|
|
|
// 性别
|
|
const SEX_TYPE = {
|
|
MALE: 1, // 男
|
|
FEMALE: 2, // 女
|
|
UNKNOW: 3, // 未知
|
|
};
|
|
|
|
// 热门分类类级
|
|
const CATEGROY_LEVEL = {
|
|
ONE: 1,
|
|
TWO: 2,
|
|
};
|
|
|
|
export { TOKEN_KEY, ORDER_STATUS, SEX_TYPE, CATEGROY_LEVEL };
|