/** http请求头的content-type类型 */ export enum ContentType { json = 'application/json', formUrlencoded = 'application/x-www-form-urlencoded', formData = 'multipart/form-data' } /** 数据类型 */ export enum EnumDataType { number = '[object Number]', string = '[object String]', boolean = '[object Boolean]', null = '[object Null]', undefined = '[object Undefined]', object = '[object Object]', array = '[object Array]', date = '[object Date]', regexp = '[object RegExp]', set = '[object Set]', map = '[object Map]' } /** 登录模块 */ export enum EnumLoginModule { 'pwd-login' = '账密登录', 'code-login' = '手机验证码登录', 'register' = '注册', 'reset-pwd' = '重置密码', 'bind-wechat' = '微信绑定' }