smart-switch-ui/src/utils/constants.js

55 lines
891 B
JavaScript
Raw Normal View History

2024-07-19 18:01:59 +08:00
// 视图
export const views = {
2024-07-31 17:15:55 +08:00
user: 'user', // 用户
2024-08-05 15:42:58 +08:00
device: 'device', // 设备
store: 'store', // 店铺
2024-07-19 18:01:59 +08:00
}
2024-07-27 14:29:26 +08:00
// 收款账户类型
export const AccountType = {
BANK_CARD: "1", // 银行卡
WECHAT: "2", // 微信
ALI_PAY: "3", // 支付宝
OFFLINE_IMAGE: "4" // 线下收款
}
2024-07-27 14:29:26 +08:00
export const UserType = {
ADMIN: "1", // 管理员
APP: "2" // 普通用户
}
2024-08-01 14:26:44 +08:00
/**
* 提现打款方式
*/
export const WithdrawType = {
ONLINE: "1", // 线上
OFFLINE: "2" // 线下
}
2024-08-03 18:04:37 +08:00
/**
* 店铺审核状态
*/
export const StoreApplyStatus = {
WAIT_AUDIT: "1", // 等待审核
AUDIT_PASS: "2", // 审核通过
AUDIT_FAIL: "3" // 审核不通过
}
2024-08-08 17:53:31 +08:00
/**
* API收费标准类型
*/
export const ApiPriceType = {
YEAR: {
type: "1",
unit: "年"
},
MONTH: {
type: "2",
unit: "月"
},
COUNT: {
type: "3",
unit: "次"
},
}