1、基本信息
(1)请求方法: http get
(2)请求地址: http://{hostname}/suptruck/user/info
(3)接口描述:我的—查询当前登录用户的基本信息
2、请求参数
头部携带 Authorization字段, 值是登录获取到的token
3、请求示例

4、响应参数
| 名称 | 数据类型 | 说明 |
|---|---|---|
| code | Integer | code |
| msg | String | 提示信息 |
| timestamp | String | 时间戳 |
| data | Object | JSON对象 |
| - id | Long | 用户id |
| - cstspId | Long | 供应链服务商id |
| - userCode | String | 用户登录代码 |
| - userMobile | String | 手机 |
| - userEmail | String | 用户邮箱 |
| - userFullname | String | 用户名称 |
| - userShortcode | String | 用户简码(用户编码) |
| - userEngname | String | 用户英文名 |
| - nation | String | 民族 |
| - userType | String | s =sales 销售 h=销售负责人 c =customer service 客服 f = freight booking 航线 p =operator 国内操作 v=海外销售 o =overseas service 海外客服 w =warehousing 仓库 d= documentation 单证 b =billing 结算 a =account 财务 可多选,用,隔开 |
| - departmentCode | String | 部门代码 |
| - manageLevel | String | (90 system 超级管理员 80 admin 公司管理员 50 manager 经理 20 leader 主管 10 staff 员工) |
| - tele | String | 电话 |
| - fax | String | 传真 |
| - address | String | 住址 |
| - postCode | String | 邮编 |
| - userQq | String | 用户qq |
| - userWeixin | String | 用户微信 |
| - userAccountNo | String | 财务编码 |
| - remark | String | 备注 |
| - userWarehouses | String | 仓库代码 |
| - businessReg | String | 统一信用代码(身份证号码) |
5、响应示例
{"data": {"id": "1","cstspId": "1","userCode": "001","userMobile": "17611111111","userEmail": "111@qq.com","userFullname": "night","userShortcode": "n","userEngname": "eeee","nation": null,"userType": null,"departmentCode": null,"manageLevel": null,"tele": null,"fax": null,"address": null,"postCode": null,"userQq": null,"userWeixin": null,"userAccountNo": null,"remark": null,"userWarehouses": null,"businessReg": null},"code": 100,"msg": "操作成功","timestamp": "2023-04-13 11:28:11"}
备注
- 更多返回错误代码请看首页的错误代码描述
