User Management API
用户基本信息
- API名称: 获取用户信息
- 请求方法: POST
- 请求路径: /user/info
- 请求参数:
- userId (string, required): 用户ID
- 响应示例:
{"success": true,"data": {"userId": "123","name": "张三","email": "zhangsan@example.com","phone": "13800138000"}}
用户权限管理
- API名称: 获取用户权限
- 请求方法: POST
- 请求路径: /user/permissions
- 请求参数:
- userId (string, required): 用户ID
- 响应示例:
{"success": true,"data": {"userId": "123","permissions": ["read", "write"]}}
用户登录认证
- API名称: 用户登录
- 请求方法: POST
- 请求路径: /user/login
- 请求参数:
- username (string, required): 用户名
- password (string, required): 密码
- 响应示例:
{"success": true,"data": {"token": "xxxxxx","expiresIn": 3600}}
用户地址管理
请参考地址列表API文档