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.
39 lines
688 B
39 lines
688 B
import env from '@/env/index.js'
|
|
const urlEnv = env === 'production' ? '' : `-${env}`
|
|
|
|
/**
|
|
* 账号类型
|
|
*/
|
|
export const accountType = {
|
|
WX: 1,
|
|
PHONE: 2,
|
|
EMAIL: 3,
|
|
APPLEID: 4,
|
|
CUSTOM: 5
|
|
}
|
|
|
|
/**
|
|
* 验证码用途
|
|
*/
|
|
export const codePurpose = {
|
|
CERTIFICATION: 1,
|
|
RESET_LOGIN_PASSWORD: 2,
|
|
RESET_PHONE: 3,
|
|
BIND_BANK_CARD: 4,
|
|
RESET_CREDIT_PASSWORD: 5
|
|
}
|
|
|
|
/**
|
|
* 可验证账号类型
|
|
*/
|
|
export const verificationType = {
|
|
PHONE: 1,
|
|
EMAIL: 2
|
|
}
|
|
/**
|
|
* 上传地址
|
|
*/
|
|
export const uploadUrl = {
|
|
image: `https://api-ops-yyt${urlEnv}.qniao.cn/yyt-uec/file-uploading/upload/image`,
|
|
file: `https://api-ops-yyt${urlEnv}.qniao.cn/yyt-uec/file-uploading/upload/file`
|
|
}
|