1、基本信息

  (1)请求方法: http get

  (2)请求地址: http://{hostname}/suptruck/user/info

  (3)接口描述:我的—查询当前登录用户的基本信息


2、请求参数

头部携带 Authorization字段, 值是登录获取到的token


3、请求示例

1.4、个人信息 - 图1


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、响应示例

  1. {
  2. "data": {
  3. "id": "1",
  4. "cstspId": "1",
  5. "userCode": "001",
  6. "userMobile": "17611111111",
  7. "userEmail": "111@qq.com",
  8. "userFullname": "night",
  9. "userShortcode": "n",
  10. "userEngname": "eeee",
  11. "nation": null,
  12. "userType": null,
  13. "departmentCode": null,
  14. "manageLevel": null,
  15. "tele": null,
  16. "fax": null,
  17. "address": null,
  18. "postCode": null,
  19. "userQq": null,
  20. "userWeixin": null,
  21. "userAccountNo": null,
  22. "remark": null,
  23. "userWarehouses": null,
  24. "businessReg": null
  25. },
  26. "code": 100,
  27. "msg": "操作成功",
  28. "timestamp": "2023-04-13 11:28:11"
  29. }
备注
  • 更多返回错误代码请看首页的错误代码描述