代理后端出版
This commit is contained in:
32
docs/schemas/agent.js
Normal file
32
docs/schemas/agent.js
Normal file
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* @swagger
|
||||
* components:
|
||||
* schemas:
|
||||
* Agent:
|
||||
* type: object
|
||||
* required:
|
||||
* - id
|
||||
* - phone
|
||||
* - name
|
||||
* properties:
|
||||
* id:
|
||||
* type: integer
|
||||
* description: 代理ID
|
||||
* phone:
|
||||
* type: string
|
||||
* description: 代理手机号
|
||||
* name:
|
||||
* type: string
|
||||
* description: 代理名称
|
||||
* status:
|
||||
* type: integer
|
||||
* description: 代理状态 (1-正常, 0-禁用)
|
||||
* created_at:
|
||||
* type: string
|
||||
* format: date-time
|
||||
* description: 创建时间
|
||||
* updated_at:
|
||||
* type: string
|
||||
* format: date-time
|
||||
* description: 更新时间
|
||||
*/
|
||||
Reference in New Issue
Block a user