| | |
| | | $ref: '#/definitions/model.QuotationStatus' |
| | | quotation_status_id: |
| | | type: integer |
| | | quotationName: |
| | | type: string |
| | | sale_chance: |
| | | $ref: '#/definitions/model.SaleChance' |
| | | sale_chance_id: |
| | |
| | | type: array |
| | | quotation_status_id: |
| | | type: integer |
| | | quotationName: |
| | | description: 报价单名称 |
| | | type: string |
| | | sale_chance_id: |
| | | type: integer |
| | | validity_date: |
| | |
| | | description: 路径 |
| | | type: string |
| | | type: object |
| | | request.ChangePasswordReq: |
| | | properties: |
| | | newPassword: |
| | | description: 新密码 |
| | | type: string |
| | | password: |
| | | description: 密码 |
| | | type: string |
| | | type: object |
| | | request.ChangeUserInfo: |
| | | properties: |
| | | email: |
| | | description: 用户邮箱 |
| | | type: string |
| | | headerImg: |
| | | description: 用户头像 |
| | | type: string |
| | | id: |
| | | description: 用户ID |
| | | type: string |
| | | nickName: |
| | | description: 用户昵称 |
| | | type: string |
| | | phone: |
| | | description: 用户手机号 |
| | | type: string |
| | | pos: |
| | | description: 用户岗位 |
| | | type: string |
| | | type: object |
| | | request.CheckClientName: |
| | | properties: |
| | | name: |
| | |
| | | items: |
| | | type: integer |
| | | type: array |
| | | type: object |
| | | request.DeleteUserReq: |
| | | properties: |
| | | userId: |
| | | description: 用户ID |
| | | type: string |
| | | type: object |
| | | request.DownloadFile: |
| | | properties: |
| | |
| | | "master_order_id": "销售总单id"}' |
| | | type: object |
| | | type: object |
| | | request.GetUserList: |
| | | properties: |
| | | keyword: |
| | | description: 模糊查询关键字 |
| | | type: string |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | type: object |
| | | request.Login: |
| | | properties: |
| | | captcha: |
| | | description: 验证码 |
| | | type: string |
| | | captchaId: |
| | | description: 验证码ID |
| | | type: string |
| | | password: |
| | | description: 密码 |
| | | type: string |
| | | username: |
| | | description: 用户名 |
| | | type: string |
| | | type: object |
| | | request.Plan: |
| | | properties: |
| | | clientId: |
| | |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.SalesStatus' |
| | | description: '商机状态: 1: 跟进中; -1:失败' |
| | | type: object |
| | | request.Register: |
| | | properties: |
| | | authorityId: |
| | | description: 用户角色ID |
| | | type: integer |
| | | departmentId: |
| | | type: integer |
| | | email: |
| | | type: string |
| | | headerImg: |
| | | type: string |
| | | id: |
| | | type: string |
| | | nickName: |
| | | type: string |
| | | password: |
| | | type: string |
| | | phone: |
| | | type: string |
| | | pos: |
| | | type: string |
| | | rePassword: |
| | | description: 确认密码 |
| | | type: string |
| | | realName: |
| | | type: string |
| | | userType: |
| | | $ref: '#/definitions/constvar.UserType' |
| | | username: |
| | | type: string |
| | | type: object |
| | | request.SalesDetails: |
| | | properties: |
| | |
| | | type: array |
| | | quotation_status_id: |
| | | type: integer |
| | | quotationName: |
| | | description: 报价单名称 |
| | | type: string |
| | | sale_chance_id: |
| | | type: integer |
| | | validity_date: |
| | |
| | | $ref: '#/definitions/model.OrderType' |
| | | type: array |
| | | type: object |
| | | response.PageResult: |
| | | properties: |
| | | list: {} |
| | | page: |
| | | type: integer |
| | | pageSize: |
| | | type: integer |
| | | total: |
| | | type: integer |
| | | type: object |
| | | response.PlanResponse: |
| | | properties: |
| | | count: |
| | |
| | | items: |
| | | $ref: '#/definitions/model.TimelyRate' |
| | | type: array |
| | | type: object |
| | | response.UserResponse: |
| | | properties: |
| | | user: |
| | | $ref: '#/definitions/model.User' |
| | | type: object |
| | | info: |
| | | contact: {} |
| | |
| | | summary: 更新银行账户 |
| | | tags: |
| | | - 银行账户管理 |
| | | /api/base/captcha: |
| | | post: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.LoginResponse' |
| | | type: object |
| | | summary: 获取验证码 |
| | | tags: |
| | | - Base |
| | | /api/base/login: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.Login' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.LoginResponse' |
| | | type: object |
| | | summary: 用户登录 |
| | | tags: |
| | | - Base |
| | | /api/city/add: |
| | | post: |
| | | parameters: |
| | |
| | | summary: 更新销售阶段 |
| | | tags: |
| | | - TimelyRate |
| | | /api/user/changePassword: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.ChangePasswordReq' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 用户修改密码 |
| | | tags: |
| | | - User |
| | | /api/user/deleteUser: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.DeleteUserReq' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除用户 |
| | | tags: |
| | | - User |
| | | /api/user/getUserInfo: |
| | | post: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 获取自身信息 |
| | | tags: |
| | | - User |
| | | /api/user/getUserList: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.GetUserList' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.PageResult' |
| | | type: object |
| | | summary: 分页获取用户列表(不传分页参数,获取全部) |
| | | tags: |
| | | - User |
| | | /api/user/register: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.Register' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.UserResponse' |
| | | type: object |
| | | summary: 注册账号 |
| | | tags: |
| | | - User |
| | | /api/user/resetPassword: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/model.User' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 重置用户密码 |
| | | tags: |
| | | - User |
| | | /api/user/setSelfInfo: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.ChangeUserInfo' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 设置用户信息 |
| | | tags: |
| | | - User |
| | | /api/user/setUserInfo: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.ChangeUserInfo' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 设置用户信息 |
| | | tags: |
| | | - User |
| | | /api/vetting/add: |
| | | post: |
| | | parameters: |