获取当前登录用户
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取当前登录用户接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/sys-user/getCurrentUser</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>返回示例</h5>
<pre><code>{
&quot;msg&quot;: &quot;操作成功&quot;,
&quot;code&quot;: 200,
&quot;data&quot;: {
&quot;userId&quot;: 1816896280243027969,
&quot;photoPath&quot;: null,
&quot;score&quot;: 0,
&quot;username&quot;: &quot;root&quot;,
&quot;authorities&quot;: [
{
&quot;authority&quot;: &quot;customer&quot;
}
]
}
}</code></pre>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>