After logging in, antd pro users will also request a currentUser, and then the personal settings in the upper right corner will be loaded. What is this request for?

could you tell me how to write the login of the great gods with pro?

Mar.28,2021

load the current user's. It is described in .roomhogrc.mock.js . The
development uses mock data.

  'GET /api/currentUser': {
    $desc: '',
    $params: {
      pageSize: {
        desc: '',
        exp: 2,
      },
    },
    $body: {
      name: 'Serati Ma',
      avatar: 'https://img.codeshelper.com/upload/img/2021/03/28/podp4erxel413966.png',
      userid: '00000001',
      notifyCount: 12,
    },
  }
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b364f7-2bffd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b364f7-2bffd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?