项目底下添加默认用户配置文件 user.provider.json

{
  "tokenType": "Bearer",
  "scope": null,
  "error": null,
  "tokenUser": {
    "roles": [],
    "departments": [],
    "areas": [],
    "id": "数据用户ID",
    "nickName": "昵称",
    "headPortrail": "",
    "password": null,
    "realName": null,
    "nikeName": "",
    "router": null,
    "gender": null,
    "mobile": null,
    "email": null,
    "idCard": null,
    "expiration": null,
    "unlockTime": null,
    "errorCount": null,
    "multipleLogin": null,
    "province": null,
    "city": null,
    "country": null,
    "address": null,
    "openId": null,
    "wxOpenId": null,
    "wxUnionId": null,
    "wxAppOpenId": null,
    "wbId": null,
    "headIcon": "",
    "clientId": null,
    "userId": "数据用户ID",
    "userName": "登录账号",
    "pushName": "显示名",
    "telephone": "",
    "roleId": [ "角色" ],
    "depId": [],
    "areaCode": [],
    "jobId": [],
    "sysId": [],
    "mergeUserId": [],
    "developer": 1,
    "expires": null
  },
  "createTime": null,
  //"timeStamp": 1626772346242.582,
  "timeStamp": null,
  "refreshToken": null,
  "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJS",
  "clientIp": null,
  "clientId": "客户端ID,如userId",
  //"expires": "2021-07-27T17:12:26.242582+08:00",
  "expires": null,
  //"expiresIn": 1626772346243,
  "expiresIn": null,
  "sessionKey": null,
  "sessionSecret": null,
  "ownerId": null,
  "filterAreaCode": null,
  "fromAppid": null,
  "sysId": null
}

登录成功后数据存储表



后台源码调整文件 AuthProvider$Refresh

文档更新时间: 2021-10-16 10:31   作者:admin