import store from '@/store'
let baseURL = store.state.env.VUE_APP_PORT || ''
// 注册api
export const REGISTER = baseURL + `/api/access/company`
// 账号唯一性
export const SYS_IS_ACCOUNT = baseURL + '/system/regist/isExistByUserName'
// 组织机构代码
export const SYS_IS_TAXCODE = baseURL + '/system/regist/isExistByTaxCode'

export const SYS_IS_PHONE = baseURL + '/system/regist/getIsExitPhone'


// 获取手机号
export const SYS_PHONE_CODE = baseURL + '/system/regist/getPhoneCode'
export const VERIFY_PHONE_CODE = baseURL + '/system/smsSend/getMessageCode'
export const SYS_USER_JWT = baseURL + '/system/person/getUserJwt'
export const SYS_VERIFY_PHONE = baseURL + '/system/person/verifyPhone'

// 更换管理员
export const SUBMIT_ADMIN_PERSON_APPLY=baseURL+'/system/unitPersonApply/submitAdminPersonApply'

export const GET_ACCOUNT_INFO_BY_PHONE = baseURL + '/system/person/getAccountInfoByPhone' // 通过手机号获取账号信息
export const UNIT_PERSON_GET_ACCOUNT_INFO_BY_PHONE = baseURL + '/system/unitPersonApply/getAccountInfoByPhone' // 通过手机号获取账号信息

export const GET_UNIT_CATEGORY_LIST = baseURL + '/system/personTypeGroup/getUnitCategoryList' 

// 获取验证码
export const GET_MESSAGE_CODE_NOT_AUTH=baseURL+'/system/smsSend/getMessageCodeNotAuth'
