taikang.api.session保存登录数据。比如用户名、token、fromId等。数据id的值为用户名。
Schema Validation:
{
$jsonSchema: {
bsonType: 'object',
properties: {
token: {
bsonType: 'string'
},
tplatformId: {
bsonType: 'string'
},
tplatLoginKey: {
bsonType: 'string'
},
fromid: {
bsonType: 'string'
},
loginInfo: {
bsonType: 'object',
properties: {
tplatformId: {
bsonType: 'string'
},
websysUserVo: {
bsonType: 'object',
properties: {
websysUserAreaVos: {
bsonType: 'array',
items: {
bsonType: 'object',
properties: {
areaname: {
bsonType: 'string'
},
areacode: {
bsonType: 'string'
}
}
}
},
websysUserGroupAreaVos: {
bsonType: 'array',
items: {}
},
lifeCarLockChannel: {
bsonType: 'string'
},
fromid: {
bsonType: 'string'
},
expectDiscount: {
bsonType: 'string'
},
websysUserNetworkOrderVos: {
bsonType: 'array',
items: {}
},
customerIdentifierFlag: {
bsonType: 'string'
},
property: {
bsonType: 'string'
},
taxClassification: {
bsonType: 'string'
},
websysRoleVos: {
bsonType: 'array',
items: {
bsonType: 'object',
properties: {
roleCode: {
bsonType: 'string'
},
roleName: {
bsonType: 'string'
},
description: {
bsonType: 'string'
},
websysPermissionVos: {
bsonType: 'array',
items: {
bsonType: 'object',
properties: {
children: {
bsonType: 'array',
items: {
bsonType: 'object',
properties: {
children: {
bsonType: 'array',
items: {
bsonType: 'object',
properties: {
children: {
bsonType: 'array',
items: {
bsonType: 'object',
properties: {
name: {
bsonType: 'string'
},
permissionCode: {
bsonType: 'string'
}
}
}
},
name: {
bsonType: 'string'
},
permissionCode: {
bsonType: 'string'
}
}
}
},
name: {
bsonType: 'string'
},
permissionCode: {
bsonType: 'string'
}
}
}
},
name: {
bsonType: 'string'
},
permissionCode: {
bsonType: 'string'
}
}
}
}
}
}
},
usercnname: {
bsonType: 'string'
},
repeatInsurance: {
bsonType: 'string'
},
websysMenus: {
bsonType: 'array',
items: {
bsonType: 'object',
properties: {
children: {
bsonType: 'array',
items: {
bsonType: 'object',
properties: {
menuUrl: {
bsonType: 'string'
},
sendUrl: {
bsonType: 'string'
},
menuCode: {
bsonType: 'number'
},
name: {
bsonType: 'string'
}
}
}
},
menuUrl: {
bsonType: 'string'
},
sendUrl: {
bsonType: 'string'
},
menuCode: {
bsonType: 'number'
},
name: {
bsonType: 'string'
}
}
}
},
expectpayoutratio: {
bsonType: 'string'
},
ip: {
bsonType: 'string'
},
mobile: {
bsonType: 'string'
},
channelname: {
bsonType: 'string'
},
channelcode: {
bsonType: 'string'
},
websysUserChannelVo: {
bsonType: 'object',
properties: {
intermediarycnname: {
bsonType: 'string'
},
intermediarycode: {
bsonType: 'string'
},
fromid: {
bsonType: 'string'
}
}
},
websysUserGroupOrderAreaVos: {
bsonType: 'array',
items: {}
},
matchingNameCode: {
bsonType: 'string'
},
activeConfig: {
bsonType: 'string'
},
channelVoList: {
bsonType: 'array',
items: {
bsonType: 'object',
properties: {
intermediarycnname: {
bsonType: 'string'
},
intermediarycode: {
bsonType: 'string'
},
fromid: {
bsonType: 'string'
}
}
}
},
gradeowns: {
bsonType: 'string'
},
softTipFlag: {
bsonType: 'string'
},
websysPermissionVos: {
bsonType: 'array',
items: {
bsonType: 'object',
properties: {
children: {
bsonType: 'array',
items: {
bsonType: 'object',
properties: {
children: {
bsonType: 'array',
items: {
bsonType: 'object',
properties: {
children: {
bsonType: 'array',
items: {
bsonType: 'object',
properties: {
name: {
bsonType: 'string'
},
permissionCode: {
bsonType: 'string'
}
}
}
},
name: {
bsonType: 'string'
},
permissionCode: {
bsonType: 'string'
}
}
}
},
name: {
bsonType: 'string'
},
permissionCode: {
bsonType: 'string'
}
}
}
},
name: {
bsonType: 'string'
},
permissionCode: {
bsonType: 'string'
}
}
}
},
username: {
bsonType: 'string'
}
}
},
tplatLoginKey: {
bsonType: 'string'
},
loginStatus: {
bsonType: 'string'
},
message: {
bsonType: 'string'
},
userId: {
bsonType: 'string'
},
token: {
bsonType: 'string'
}
}
}
}
}
}