51 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| /**
 | |
|  * @swagger
 | |
|  * components:
 | |
|  *   schemas:
 | |
|  *     User:
 | |
|  *       type: object
 | |
|  *       required:
 | |
|  *         - id
 | |
|  *         - phone
 | |
|  *         - username
 | |
|  *       properties:
 | |
|  *         id:
 | |
|  *           type: integer
 | |
|  *           description: 用户ID
 | |
|  *         phone:
 | |
|  *           type: string
 | |
|  *           description: 用户手机号
 | |
|  *         username:
 | |
|  *           type: string
 | |
|  *           description: 用户名
 | |
|  *         email:
 | |
|  *           type: string
 | |
|  *           format: email
 | |
|  *           description: 用户邮箱
 | |
|  *         avatar:
 | |
|  *           type: string
 | |
|  *           description: 用户头像URL
 | |
|  *         role:
 | |
|  *           type: string
 | |
|  *           description: 用户角色
 | |
|  *         status:
 | |
|  *           type: integer
 | |
|  *           description: 用户状态 (1-正常, 0-禁用)
 | |
|  *         city:
 | |
|  *           type: string
 | |
|  *           description: 所在城市
 | |
|  *         area:
 | |
|  *           type: string
 | |
|  *           description: 所在区域
 | |
|  *         agent_id:
 | |
|  *           type: integer
 | |
|  *           description: 所属代理ID
 | |
|  *         created_at:
 | |
|  *           type: string
 | |
|  *           format: date-time
 | |
|  *           description: 创建时间
 | |
|  *         updated_at:
 | |
|  *           type: string
 | |
|  *           format: date-time
 | |
|  *           description: 更新时间
 | |
|  */ |