部门员工-员工信息/编辑页-查询
<p><strong>简要描述:</strong> </p>
<ul>
<li>员工信息/编辑页-查询</li>
</ul>
<p><strong>请求URL:</strong> </p>
<p>原接口:<a href="https://dev.yilihuo.com/v2/portal/rest/settingsUser/query-user-staff.ajax">https://dev.yilihuo.com/v2/portal/rest/settingsUser/query-user-staff.ajax</a></p>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">staffId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">Integer</td>
<td>员工ID</td>
</tr>
</tbody>
</table>
<ul>
<li>
<p>备注:员工信息增加角色信息,可根据roles对象处理获取</p>
<p><strong>返回示例</strong></p>
</li>
</ul>
<pre><code>{
"success":true,
"code":0,
"infoMsgs":[
],
"warningMsgs":[
],
"errorMsg":null,
"data":{
"userAndStaff":{
"requestId":null,
"shopIdClient":null,
"powerKeyClient":null,
"typeServer":null,
"page":1,
"rows":10,
"id":1103736609,
"memberId":null,
"userName":"09876",
"userPwd":null,
"encrypt":null,
"userPhone":"13086412235",
"userState":1,
"userReason":null,
"userNick":null,
"departmentId":823,
"userEmail":null,
"lastLoginTime":null,
"userType":0,
"createTime":null,
"updateTime":null,
"createUserId":null,
"updateUserId":null,
"platformId":null,
"userIp":null,
"wxId":null,
"wxName":null,
"jshId":null,
"jshName":null,
"pwdStrength":null,
"logo":null,
"staffName":"为儿童如何与内部",
"birthday":null,
"birthType":null,
"roleIds":null,
"userRoleId":null,
"userRoleName":null,
"departmentName":"仓库11",
"userOn":null,
"userPosition":"3456765",
"jshBind":null,
"wxBind":null,
"verifyCode":null,
"rememberMe":false,
"functionCode":null,
"nameOrPhone":null,
"accountType":null,
"accountState":null,
"staffId":1103734357,
"staffNo":"324567654",
"remark":"要4",
"password":null,
"imgVerifyCode":null,
"invitationCode":null,
"permission":null,
"userId":null,
"promtionUserId":null,
"provinceCodeName":null,
"cityCodeName":null,
"districtCodeName":null,
"streetCodeName":null,
"fullAddress":null,
"memberInfo":null,
"shopName":null,
"identificationCode":null,
"captchaCode":null,
"gridCode":null,
"gridName":null,
"distType":null,
"distTypeValue":null,
"marketLevel":null,
"ageLevel":null,
"wxInfo":null,
"serialNumber":null,
"siteBrandTypeId":null,
"otherInfo":null,
"nickName":null,
"faceUrl":null,
"personId":null,
"messageId":null,
"pager":{
"success":false,
"resultCode":0,
"resultMsg":null,
"records":null,
"page":1,
"rows":10,
"pageOffset":0,
"sort":null,
"order":null,
"totalPage":0,
"totalCount":0,
"startPageIndex":0,
"endPageIndex":0,
"pageCode":5,
"previewPage":1,
"nextPage":1,
"originResultCode":null,
"originSuccess":null
}
},
"success":true,
"roles":[
{
"requestId":null,
"shopIdClient":null,
"powerKeyClient":null,
"typeServer":null,
"page":1,
"rows":10,
"id":null,
"memberId":null,
"roleName":"仓库管理出库",
"createTime":null,
"updateTime":null,
"createUserId":null,
"updateUserId":null,
"activeFlag":null,
"menuIds":null,
"pids":null,
"roleId":1421,
"appId":null,
"permsetId":null,
"userId":null,
"roleIds":null,
"userIds":null,
"apps":null,
"pager":{
"success":false,
"resultCode":0,
"resultMsg":null,
"records":null,
"page":1,
"rows":10,
"pageOffset":0,
"sort":null,
"order":null,
"totalPage":0,
"totalCount":0,
"startPageIndex":0,
"endPageIndex":0,
"pageCode":5,
"previewPage":1,
"nextPage":1,
"originResultCode":null,
"originSuccess":null
}
}
]
}
}</code></pre>