| | |
| | | msg: |
| | | type: string |
| | | type: object |
| | | model.Authority: |
| | | properties: |
| | | authorityName: |
| | | description: 角色名 |
| | | type: string |
| | | defaultRouter: |
| | | description: 默认菜单(默认dashboard) |
| | | type: string |
| | | id: |
| | | description: 角色ID |
| | | type: integer |
| | | menus: |
| | | items: |
| | | $ref: '#/definitions/model.Menu' |
| | | type: array |
| | | type: object |
| | | model.City: |
| | | properties: |
| | | id: |
| | |
| | | $ref: '#/definitions/model.City' |
| | | city_id: |
| | | type: integer |
| | | client_level: |
| | | $ref: '#/definitions/model.ClientLevel' |
| | | client_level_id: |
| | | type: integer |
| | | client_origin: |
| | | $ref: '#/definitions/model.ClientOrigin' |
| | | client_origin_id: |
| | | type: integer |
| | | client_status: |
| | | $ref: '#/definitions/model.ClientStatus' |
| | | client_status_id: |
| | | type: integer |
| | | client_type: |
| | | $ref: '#/definitions/model.ClientType' |
| | | client_type_id: |
| | | type: integer |
| | | contacts: |
| | |
| | | $ref: '#/definitions/model.Province' |
| | | type: array |
| | | type: object |
| | | model.CustomerServiceSheet: |
| | | properties: |
| | | handleStatus: |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | memberId: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | priority: |
| | | type: integer |
| | | serviceFollowupId: |
| | | type: integer |
| | | serviceMode: |
| | | type: integer |
| | | type: object |
| | | model.EnterpriseNature: |
| | | properties: |
| | | id: |
| | |
| | | type: object |
| | | model.FollowRecord: |
| | | properties: |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | client_id: |
| | | type: integer |
| | | client_status_id: |
| | | type: integer |
| | | contact: |
| | | $ref: '#/definitions/model.Contact' |
| | | contact_id: |
| | | type: integer |
| | | contact_information_id: |
| | |
| | | number: |
| | | type: string |
| | | start_time: |
| | | type: string |
| | | type: object |
| | | model.Menu: |
| | | properties: |
| | | children: |
| | | items: |
| | | $ref: '#/definitions/model.Menu' |
| | | type: array |
| | | id: |
| | | description: 主键ID |
| | | type: integer |
| | | name: |
| | | type: string |
| | | parentId: |
| | | type: integer |
| | | path: |
| | | type: string |
| | | title: |
| | | type: string |
| | | type: object |
| | | model.Plan: |
| | |
| | | typeId: |
| | | type: integer |
| | | type: object |
| | | model.ServiceFeeManage: |
| | | properties: |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | client_id: |
| | | type: integer |
| | | file: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | latest_date: |
| | | type: string |
| | | member_id: |
| | | type: integer |
| | | remark: |
| | | type: string |
| | | type: object |
| | | model.ServiceFollowup: |
| | | properties: |
| | | clientId: |
| | | type: integer |
| | | contactId: |
| | | type: integer |
| | | customerServiceSheet: |
| | | $ref: '#/definitions/model.CustomerServiceSheet' |
| | | file: |
| | | type: string |
| | | id: |
| | |
| | | type: object |
| | | model.User: |
| | | properties: |
| | | authority: |
| | | $ref: '#/definitions/model.Authority' |
| | | authorityId: |
| | | description: 用户角色ID |
| | | type: integer |
| | | companyName: |
| | | type: string |
| | | createAt: |
| | |
| | | $ref: '#/definitions/constvar.UserType' |
| | | username: |
| | | type: string |
| | | type: object |
| | | request.AddAuthority: |
| | | properties: |
| | | authorityName: |
| | | type: string |
| | | casbinInfos: |
| | | items: |
| | | $ref: '#/definitions/request.CasbinInfo' |
| | | type: array |
| | | type: object |
| | | request.AddCity: |
| | | properties: |
| | |
| | | name: |
| | | description: 国家名称 |
| | | type: string |
| | | type: object |
| | | request.AddCustomerServiceSheet: |
| | | properties: |
| | | handleStatus: |
| | | type: integer |
| | | memberId: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | priority: |
| | | type: integer |
| | | serviceMode: |
| | | type: integer |
| | | type: object |
| | | request.AddEnterpriseNature: |
| | | properties: |
| | |
| | | typeId: |
| | | type: integer |
| | | type: object |
| | | request.AddServiceFeeManage: |
| | | properties: |
| | | client_id: |
| | | type: integer |
| | | file: |
| | | type: string |
| | | latest_date: |
| | | type: string |
| | | member_id: |
| | | type: integer |
| | | remark: |
| | | type: string |
| | | type: object |
| | | request.AddServiceFollowup: |
| | | properties: |
| | | clientId: |
| | |
| | | subOrder: |
| | | $ref: '#/definitions/request.SubOrder' |
| | | type: object |
| | | request.CasbinInfo: |
| | | properties: |
| | | method: |
| | | description: 方法 |
| | | type: string |
| | | path: |
| | | description: 路径 |
| | | type: string |
| | | type: object |
| | | request.ChangePasswordReq: |
| | | properties: |
| | | newPassword: |
| | |
| | | pos: |
| | | description: 用户岗位 |
| | | type: string |
| | | type: object |
| | | request.Client: |
| | | properties: |
| | | business_scope: |
| | | description: 经营范围 |
| | | type: string |
| | | city_id: |
| | | type: integer |
| | | client_level_id: |
| | | description: 客户等级ID |
| | | type: integer |
| | | client_origin_id: |
| | | description: 客户来源ID |
| | | type: integer |
| | | client_status_id: |
| | | description: 客户状态ID |
| | | type: integer |
| | | client_type_id: |
| | | description: 客户类型ID |
| | | type: integer |
| | | contact: |
| | | $ref: '#/definitions/request.Contact' |
| | | country_id: |
| | | type: integer |
| | | detail_address: |
| | | description: 详细地址 |
| | | type: string |
| | | enterprise_nature_id: |
| | | description: 企业性质 |
| | | type: integer |
| | | enterprise_scale_id: |
| | | description: 企业规模 |
| | | type: integer |
| | | industry_id: |
| | | description: 所属行业 |
| | | type: integer |
| | | latest_service_time: |
| | | description: 最晚服务时间 |
| | | type: string |
| | | member_id: |
| | | description: 销售负责人ID |
| | | type: integer |
| | | name: |
| | | description: 公司名称 |
| | | type: string |
| | | next_visit_time: |
| | | description: 下次回访时间 |
| | | type: string |
| | | number: |
| | | description: 公司编号 |
| | | type: string |
| | | province_id: |
| | | type: integer |
| | | region_id: |
| | | type: integer |
| | | registered_capital_id: |
| | | description: 注册资金 |
| | | type: integer |
| | | registration_time: |
| | | description: 注册时间 |
| | | type: string |
| | | remark: |
| | | description: 备注 |
| | | type: string |
| | | representative: |
| | | description: 法人代表 |
| | | type: string |
| | | service_member_id: |
| | | description: 服务负责人ID |
| | | type: integer |
| | | type: object |
| | | request.Contact: |
| | | properties: |
| | |
| | | type: string |
| | | status: |
| | | type: integer |
| | | type: object |
| | | request.SetAuthorityMenu: |
| | | properties: |
| | | authorityId: |
| | | type: integer |
| | | menus: |
| | | items: |
| | | type: integer |
| | | type: array |
| | | type: object |
| | | request.SetCity: |
| | | properties: |
| | |
| | | name: |
| | | description: 国家名称 |
| | | type: string |
| | | type: object |
| | | request.UpdateCustomerServiceSheet: |
| | | properties: |
| | | handleStatus: |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | memberId: |
| | | type: integer |
| | | number: |
| | | type: string |
| | | priority: |
| | | type: integer |
| | | serviceMode: |
| | | type: integer |
| | | type: object |
| | | request.UpdateEnterpriseNature: |
| | | properties: |
| | |
| | | typeId: |
| | | type: integer |
| | | type: object |
| | | request.UpdateServiceFeeManage: |
| | | properties: |
| | | client: |
| | | $ref: '#/definitions/request.Client' |
| | | client_id: |
| | | type: integer |
| | | file: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | latest_date: |
| | | type: string |
| | | member_id: |
| | | type: integer |
| | | remark: |
| | | type: string |
| | | type: object |
| | | request.UpdateServiceFollowup: |
| | | properties: |
| | | clientId: |
| | |
| | | $ref: '#/definitions/model.Country' |
| | | type: array |
| | | type: object |
| | | response.DataResponse: |
| | | properties: |
| | | city: |
| | | description: 城市数据 |
| | | items: |
| | | $ref: '#/definitions/model.City' |
| | | type: array |
| | | client_level: |
| | | description: 客户等级 |
| | | items: |
| | | $ref: '#/definitions/model.ClientLevel' |
| | | type: array |
| | | client_origin: |
| | | description: 客户来源 |
| | | items: |
| | | $ref: '#/definitions/model.ClientOrigin' |
| | | type: array |
| | | client_status: |
| | | description: 客户状态 |
| | | items: |
| | | $ref: '#/definitions/model.ClientStatus' |
| | | type: array |
| | | client_type: |
| | | description: 客户类型 |
| | | items: |
| | | $ref: '#/definitions/model.ClientType' |
| | | type: array |
| | | country: |
| | | description: 国家数据 |
| | | items: |
| | | $ref: '#/definitions/model.Country' |
| | | type: array |
| | | enterprise_nature: |
| | | description: 企业性质 |
| | | items: |
| | | $ref: '#/definitions/model.EnterpriseNature' |
| | | type: array |
| | | enterprise_scale: |
| | | description: 企业规模 |
| | | items: |
| | | $ref: '#/definitions/model.EnterpriseScale' |
| | | type: array |
| | | industry: |
| | | description: 行业 |
| | | items: |
| | | $ref: '#/definitions/model.Industry' |
| | | type: array |
| | | province: |
| | | description: 省份数据 |
| | | items: |
| | | $ref: '#/definitions/model.Province' |
| | | type: array |
| | | region: |
| | | description: 区域数据 |
| | | items: |
| | | $ref: '#/definitions/model.Region' |
| | | type: array |
| | | registered_capital: |
| | | description: 注册资金 |
| | | items: |
| | | $ref: '#/definitions/model.RegisteredCapital' |
| | | type: array |
| | | regular_customers: |
| | | description: 老客户营销 |
| | | items: |
| | | $ref: '#/definitions/model.RegularCustomers' |
| | | type: array |
| | | sale_stage: |
| | | description: 销售阶段 |
| | | items: |
| | | $ref: '#/definitions/model.SaleStage' |
| | | type: array |
| | | sale_type: |
| | | description: 销售类型 |
| | | items: |
| | | $ref: '#/definitions/model.SaleType' |
| | | type: array |
| | | sales_source: |
| | | description: 商机来源 |
| | | items: |
| | | $ref: '#/definitions/model.SalesSources' |
| | | type: array |
| | | type: object |
| | | response.EnterpriseNatureResponse: |
| | | properties: |
| | | list: |
| | |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.MasterOrder' |
| | | type: array |
| | | type: object |
| | | response.MenuTreeResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.Menu' |
| | | type: array |
| | | type: object |
| | | response.PageResult: |
| | |
| | | $ref: '#/definitions/model.ServiceContract' |
| | | type: array |
| | | type: object |
| | | response.ServiceFeeManageResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.ServiceFeeManage' |
| | | type: array |
| | | type: object |
| | | response.ServiceFollowupResponse: |
| | | properties: |
| | | list: |
| | |
| | | info: |
| | | contact: {} |
| | | paths: |
| | | /api/authority/add: |
| | | post: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddAuthority' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 创建角色 |
| | | tags: |
| | | - Authority |
| | | /api/authority/setMenuAuthority: |
| | | post: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 设置角色资源权限 |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.SetAuthorityMenu' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 设置角色菜单 |
| | | tags: |
| | | - Authority |
| | | /api/base/captcha: |
| | | post: |
| | | produces: |
| | |
| | | - City |
| | | /api/city/list: |
| | | get: |
| | | parameters: |
| | | - description: 省份ID |
| | | in: query |
| | | name: province_id |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | tags: |
| | | - Client |
| | | /api/client/update: |
| | | post: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | |
| | | summary: 更新国家 |
| | | tags: |
| | | - Country |
| | | /api/customerServiceSheet/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddCustomerServiceSheet' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加客服单 |
| | | tags: |
| | | - CustomerServiceSheet |
| | | /api/customerServiceSheet/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除客服单 |
| | | tags: |
| | | - CustomerServiceSheet |
| | | /api/customerServiceSheet/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 获取客服单列表 |
| | | tags: |
| | | - CustomerServiceSheet |
| | | /api/customerServiceSheet/update/{id}: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateCustomerServiceSheet' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新客服单 |
| | | tags: |
| | | - CustomerServiceSheet |
| | | /api/data/getAllData: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.DataResponse' |
| | | type: object |
| | | summary: 获取所有数据 |
| | | tags: |
| | | - Data |
| | | /api/enterpriseNature/add: |
| | | post: |
| | | parameters: |
| | |
| | | summary: 更新主订单 |
| | | tags: |
| | | - MasterOrder |
| | | /api/menu/getMenu: |
| | | get: |
| | | parameters: |
| | | - description: Authorization |
| | | in: header |
| | | name: Authorization |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.MenuTreeResponse' |
| | | type: object |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 获取菜单树 |
| | | tags: |
| | | - Menu |
| | | /api/orderManage/add: |
| | | post: |
| | | parameters: |
| | |
| | | - Province |
| | | /api/province/list: |
| | | get: |
| | | parameters: |
| | | - description: 国家ID |
| | | in: query |
| | | name: country_id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | - Region |
| | | /api/region/list: |
| | | get: |
| | | parameters: |
| | | - description: 城市ID |
| | | in: query |
| | | name: city_id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | summary: 更新服务合同 |
| | | tags: |
| | | - ServiceContract |
| | | /api/serviceFeeManage/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddServiceFeeManage' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加服务费管理 |
| | | tags: |
| | | - ServiceFeeManage |
| | | /api/serviceFeeManage/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除服务费管理 |
| | | tags: |
| | | - ServiceFeeManage |
| | | /api/serviceFeeManage/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.ServiceFeeManageResponse' |
| | | type: object |
| | | summary: 服务费管理列表 |
| | | tags: |
| | | - ServiceFeeManage |
| | | /api/serviceFeeManage/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateServiceFeeManage' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新服务费管理 |
| | | tags: |
| | | - ServiceFeeManage |
| | | /api/serviceFollowup/add: |
| | | post: |
| | | parameters: |