| | |
| | | "host": "{{.Host}}", |
| | | "basePath": "{{.BasePath}}", |
| | | "paths": { |
| | | "/api/accountId/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "AccountId" |
| | | ], |
| | | "summary": "添加账户", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddAccountId" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/accountId/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "AccountId" |
| | | ], |
| | | "summary": "删除账户", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/accountId/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "AccountId" |
| | | ], |
| | | "summary": "获取账户列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.AccountIdResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/accountId/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "AccountId" |
| | | ], |
| | | "summary": "更新账户", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateAccountIds" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/authority/add": { |
| | | "post": { |
| | | "security": [ |
| | |
| | | { |
| | | "type": "integer", |
| | | "description": "省份ID", |
| | | "name": "provinceId", |
| | | "name": "province_id", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | } |
| | | }, |
| | | "/api/client/update": { |
| | | "post": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/currency/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Currency" |
| | | ], |
| | | "summary": "添加币种", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddCurrency" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/currency/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Currency" |
| | | ], |
| | | "summary": "删除币种", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/currency/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Currency" |
| | | ], |
| | | "summary": "获取币种列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.CurrencyResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/currency/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Currency" |
| | | ], |
| | | "summary": "更新币种", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateCurrencys" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/customerServiceSheet/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateCustomerServiceSheet" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/data/getAllData": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Data" |
| | | ], |
| | | "summary": "获取所有数据", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.DataResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/department/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Department" |
| | | ], |
| | | "summary": "添加部门", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddDepartment" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/department/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Department" |
| | | ], |
| | | "summary": "删除部门", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "部门ID", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/department/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Department" |
| | | ], |
| | | "summary": "部门列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.DepartmentResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/department/update/{id}": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Department" |
| | | ], |
| | | "summary": "更新部门", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateDepartmentList" |
| | | } |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/isInvoice/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "IsInvoice" |
| | | ], |
| | | "summary": "添加是否开票", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddIsInvoice" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/isInvoice/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "IsInvoice" |
| | | ], |
| | | "summary": "删除是否开票", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/isInvoice/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "IsInvoice" |
| | | ], |
| | | "summary": "获取是否开票列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.IsInvoiceResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/isInvoice/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "IsInvoice" |
| | | ], |
| | | "summary": "更新是否开票", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateIsInvoices" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/isVisit/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "IsVisit" |
| | | ], |
| | | "summary": "添加服务人员是否来过", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddIsVisit" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/isVisit/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "IsVisit" |
| | | ], |
| | | "summary": "删除服务人员是否来过", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/isVisit/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "IsVisit" |
| | | ], |
| | | "summary": "获取服务人员是否来过列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.IsVisitResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/isVisit/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "IsVisit" |
| | | ], |
| | | "summary": "更新服务人员是否来过", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateIsVisits" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/masterOrder/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "tags": [ |
| | | "OrderManage" |
| | | ], |
| | | "summary": "添加订单", |
| | | "summary": "添加工单", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | |
| | | "tags": [ |
| | | "OrderManage" |
| | | ], |
| | | "summary": "删除订单", |
| | | "summary": "删除工单", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | |
| | | "tags": [ |
| | | "OrderManage" |
| | | ], |
| | | "summary": "订单列表", |
| | | "summary": "工单列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | |
| | | "tags": [ |
| | | "OrderManage" |
| | | ], |
| | | "summary": "更新订单", |
| | | "summary": "更新工单", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateOrderManage" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/orderType/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "OrderType" |
| | | ], |
| | | "summary": "添加工单类型", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddOrderType" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/orderType/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "OrderType" |
| | | ], |
| | | "summary": "删除工单类型", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/orderType/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "OrderType" |
| | | ], |
| | | "summary": "获取工单类型列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.OrderTypeResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/orderType/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "OrderType" |
| | | ], |
| | | "summary": "更新工单类型", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateOrderTypes" |
| | | } |
| | | } |
| | | ], |
| | |
| | | "Province" |
| | | ], |
| | | "summary": "获取省份列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "国家ID", |
| | | "name": "country_id", |
| | | "in": "query", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/quotationStatus/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "QuotationStatus" |
| | | ], |
| | | "summary": "添加报价单状态", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddQuotationStatus" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/quotationStatus/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "QuotationStatus" |
| | | ], |
| | | "summary": "删除报价单状态", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/quotationStatus/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "QuotationStatus" |
| | | ], |
| | | "summary": "获取报价单状态列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.QuotationStatusResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/quotationStatus/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "QuotationStatus" |
| | | ], |
| | | "summary": "更新报价单状态", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateQuotationStatuss" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/refundMethod/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "RefundMethod" |
| | | ], |
| | | "summary": "添加退款方式", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddRefundMethod" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/refundMethod/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "RefundMethod" |
| | | ], |
| | | "summary": "删除退款方式", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/refundMethod/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "RefundMethod" |
| | | ], |
| | | "summary": "获取退款方式列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.RefundMethodResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/refundMethod/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "RefundMethod" |
| | | ], |
| | | "summary": "更新退款方式", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateRefundMethods" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/region/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "Region" |
| | | ], |
| | | "summary": "地区列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "城市ID", |
| | | "name": "city_id", |
| | | "in": "query", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateRegularCustomersList" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/reportSource/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ReportSource" |
| | | ], |
| | | "summary": "添加报表来源", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddReportSource" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/reportSource/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ReportSource" |
| | | ], |
| | | "summary": "删除报表来源", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/reportSource/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ReportSource" |
| | | ], |
| | | "summary": "获取报表来源列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.ReportSourceResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/reportSource/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ReportSource" |
| | | ], |
| | | "summary": "更新报表来源", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateReportSources" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/repository/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Repository" |
| | | ], |
| | | "summary": "添加退货仓库", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddRepository" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/repository/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Repository" |
| | | ], |
| | | "summary": "删除退货仓库", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/repository/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Repository" |
| | | ], |
| | | "summary": "获取退货仓库列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.RepositoryResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/repository/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Repository" |
| | | ], |
| | | "summary": "更新退货仓库", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateRepositorys" |
| | | } |
| | | } |
| | | ], |
| | |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.SalesReturnResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesReturn/update/{id}": { |
| | | "/api/salesReturn/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateSalesReturnRequest" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesReturnStatus/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesReturnStatus" |
| | | ], |
| | | "summary": "添加退货单状态", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddSalesReturnStatus" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesReturnStatus/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesReturnStatus" |
| | | ], |
| | | "summary": "删除退货单状态", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesReturnStatus/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesReturnStatus" |
| | | ], |
| | | "summary": "获取退货单状态列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.SalesReturnStatusResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesReturnStatus/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesReturnStatus" |
| | | ], |
| | | "summary": "更新退货单状态", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateSalesReturnStatuss" |
| | | } |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/satisfaction/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Satisfaction" |
| | | ], |
| | | "summary": "添加满意度", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddSatisfaction" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/satisfaction/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Satisfaction" |
| | | ], |
| | | "summary": "删除满意度", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/satisfaction/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Satisfaction" |
| | | ], |
| | | "summary": "满意度列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.SatisfactionResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/satisfaction/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Satisfaction" |
| | | ], |
| | | "summary": "更新满意度", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateSatisfactions" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/serviceContract/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateServiceContract" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/serviceContractStatus/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ServiceContractStatus" |
| | | ], |
| | | "summary": "添加服务合同状态", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddServiceContractStatus" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/serviceContractStatus/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ServiceContractStatus" |
| | | ], |
| | | "summary": "删除服务合同状态", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/serviceContractStatus/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ServiceContractStatus" |
| | | ], |
| | | "summary": "获取服务合同状态列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.ServiceContractStatusResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/serviceContractStatus/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ServiceContractStatus" |
| | | ], |
| | | "summary": "更新服务合同状态", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateServiceContractStatuss" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/serviceContractType/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ServiceContractType" |
| | | ], |
| | | "summary": "添加服务合同类型", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddServiceContractType" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/serviceContractType/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ServiceContractType" |
| | | ], |
| | | "summary": "删除服务合同类型", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/serviceContractType/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ServiceContractType" |
| | | ], |
| | | "summary": "获取服务合同类型列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.ServiceContractTypeResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/serviceContractType/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ServiceContractType" |
| | | ], |
| | | "summary": "更新服务合同类型", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateServiceContractTypes" |
| | | } |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/solveRate/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SolveRate" |
| | | ], |
| | | "summary": "添加解决率", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddSolveRate" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/solveRate/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SolveRate" |
| | | ], |
| | | "summary": "删除解决率", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/solveRate/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SolveRate" |
| | | ], |
| | | "summary": "获取解决率列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.SolveRateResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/solveRate/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SolveRate" |
| | | ], |
| | | "summary": "更新解决率", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateSolveRates" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/status/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Status" |
| | | "SalesReturnStatus" |
| | | ], |
| | | "summary": "添加状态", |
| | | "parameters": [ |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Status" |
| | | "SalesReturnStatus" |
| | | ], |
| | | "summary": "删除状态", |
| | | "parameters": [ |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Status" |
| | | "SalesReturnStatus" |
| | | ], |
| | | "summary": "状态列表", |
| | | "responses": { |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Status" |
| | | "SalesReturnStatus" |
| | | ], |
| | | "summary": "更新状态", |
| | | "parameters": [ |
| | |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateSubOrder" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/timelyRate/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "TimelyRate" |
| | | ], |
| | | "summary": "添加销售阶段", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddTimelyRate" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/timelyRate/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "TimelyRate" |
| | | ], |
| | | "summary": "删除销售阶段", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/timelyRate/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "TimelyRate" |
| | | ], |
| | | "summary": "获取销售阶段列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.TimelyRateResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/timelyRate/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "TimelyRate" |
| | | ], |
| | | "summary": "更新销售阶段", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateTimelyRates" |
| | | } |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/vetting/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Vetting" |
| | | ], |
| | | "summary": "添加审批", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddVetting" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/vetting/update": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Vetting" |
| | | ], |
| | | "summary": "更新审批", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateVetting" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "definitions": { |
| | | "constvar.CurrencyType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4 |
| | | ], |
| | | "x-enum-comments": { |
| | | "CurrencyTypeCNY": "人民币", |
| | | "CurrencyTypeEUR": "欧元", |
| | | "CurrencyTypeGBP": "英镑", |
| | | "CurrencyTypeUSD": "美元" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "CurrencyTypeCNY", |
| | | "CurrencyTypeUSD", |
| | | "CurrencyTypeEUR", |
| | | "CurrencyTypeGBP" |
| | | ] |
| | | }, |
| | | "constvar.SalesStatus": { |
| | | "type": "integer", |
| | | "enum": [ |
| | |
| | | }, |
| | | "data": {}, |
| | | "msg": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.AccountId": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "model.Currency": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.CustomerServiceSheet": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | }, |
| | | "serviceMode": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "model.Department": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "model.IsInvoice": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.IsVisit": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.MasterOrder": { |
| | | "type": "object", |
| | | "properties": { |
| | | "client": { |
| | | "$ref": "#/definitions/model.Client" |
| | | }, |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "type": "string" |
| | | }, |
| | | "title": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.OrderType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "model.QuotationStatus": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.RefundMethod": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.Region": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | }, |
| | | "model.RegularCustomers": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.ReportSource": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.Repository": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | |
| | | "type": "integer" |
| | | }, |
| | | "currency": { |
| | | "$ref": "#/definitions/constvar.CurrencyType" |
| | | "type": "integer" |
| | | }, |
| | | "detail_address": { |
| | | "type": "string" |
| | | }, |
| | | "disadvantages": { |
| | | "type": "string" |
| | |
| | | }, |
| | | "regular_customers_id": { |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "type": "string" |
| | | }, |
| | | "sale_stage_id": { |
| | | "type": "integer" |
| | |
| | | "addressee": { |
| | | "type": "string" |
| | | }, |
| | | "client": { |
| | | "$ref": "#/definitions/model.Client" |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "logisticCompany": { |
| | | "type": "string" |
| | | }, |
| | | "logisticCost": { |
| | | "type": "number" |
| | | }, |
| | | "logisticNumber": { |
| | | "type": "string" |
| | | }, |
| | | "memberId": { |
| | | "type": "integer" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "model.SalesReturn": { |
| | | "type": "object", |
| | | "properties": { |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "memberId": { |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "products": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "reason": { |
| | | "type": "string" |
| | | }, |
| | | "repository": { |
| | | "type": "string" |
| | | }, |
| | | "returnDate": { |
| | | "type": "string" |
| | | }, |
| | | "salesReturnStatus": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "model.SalesReturnStatus": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.SalesSources": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.Satisfaction": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | |
| | | "saleChanceId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractStatusId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractTypeId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceTimes": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "startTime": { |
| | | "type": "string" |
| | | }, |
| | | "statusId": { |
| | | "type": "integer" |
| | | }, |
| | | "terms": { |
| | | "type": "string" |
| | | }, |
| | | "typeId": { |
| | | } |
| | | } |
| | | }, |
| | | "model.ServiceContractStatus": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.ServiceContractType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "isVisit": { |
| | | "isVisitId": { |
| | | "type": "integer" |
| | | }, |
| | | "memberId": { |
| | |
| | | "remark": { |
| | | "type": "string" |
| | | }, |
| | | "satisfaction": { |
| | | "satisfactionId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceId": { |
| | | "type": "integer" |
| | | }, |
| | | "solveRate": { |
| | | "solveRateId": { |
| | | "type": "integer" |
| | | }, |
| | | "timelyRate": { |
| | | "timelyRateId": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "model.SolveRate": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.Status": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.SubOrder": { |
| | | "type": "object", |
| | | "properties": { |
| | | "client": { |
| | | "$ref": "#/definitions/model.Client" |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "model.TimelyRate": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.User": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "description": "用户角色ID", |
| | | "type": "integer" |
| | | }, |
| | | "companyName": { |
| | | "type": "string" |
| | | }, |
| | | "createAt": { |
| | | "description": "创建时间", |
| | | "type": "string" |
| | | "departmentId": { |
| | | "type": "integer" |
| | | }, |
| | | "email": { |
| | | "type": "string" |
| | | }, |
| | | "enable": { |
| | | "type": "boolean" |
| | | }, |
| | | "headerImg": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "string" |
| | | }, |
| | | "ip": { |
| | | "type": "string" |
| | | "type": "integer" |
| | | }, |
| | | "menuIds": { |
| | | "description": "菜单ID列表", |
| | |
| | | "nickName": { |
| | | "type": "string" |
| | | }, |
| | | "parentId": { |
| | | "type": "string" |
| | | }, |
| | | "parentName": { |
| | | "type": "string" |
| | | }, |
| | | "phone": { |
| | | "type": "string" |
| | | }, |
| | | "port": { |
| | | "type": "string" |
| | | }, |
| | | "pos": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "type": "integer" |
| | | }, |
| | | "updateAt": { |
| | | "description": "更新时间", |
| | | "realName": { |
| | | "type": "string" |
| | | }, |
| | | "userType": { |
| | | "$ref": "#/definitions/constvar.UserType" |
| | | }, |
| | | "username": { |
| | | "type": "string" |
| | | }, |
| | | "uuid": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddAccountId": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.AddCurrency": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddCustomerServiceSheet": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | }, |
| | | "serviceMode": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddDepartment": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.AddIsInvoice": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddIsVisit": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddMasterOrder": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "type": "integer" |
| | | }, |
| | | "money": { |
| | | "type": "string" |
| | | "type": "number" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | |
| | | }, |
| | | "sourceSheet": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddOrderType": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.AddQuotationStatus": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddRefundMethod": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddRegion": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | }, |
| | | "request.AddRegularCustomers": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddReportSource": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddRepository": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | |
| | | }, |
| | | "currency": { |
| | | "type": "integer" |
| | | }, |
| | | "detail_address": { |
| | | "type": "string" |
| | | }, |
| | | "disadvantages": { |
| | | "type": "string" |
| | |
| | | }, |
| | | "regular_customers_id": { |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "type": "string" |
| | | }, |
| | | "sale_stage_id": { |
| | | "type": "integer" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.AddSalesReturnStatus": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddSalesSources": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddSatisfaction": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.AddServiceContractStatus": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddServiceContractType": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddServiceFeeManage": { |
| | | "type": "object", |
| | | "properties": { |
| | | "client_id": { |
| | | "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" |
| | | }, |
| | | "file": { |
| | | "type": "string" |
| | | }, |
| | | "industry_id": { |
| | | "description": "所属行业", |
| | | "type": "integer" |
| | | }, |
| | | "latest_date": { |
| | | "type": "string" |
| | | }, |
| | | "latest_service_time": { |
| | | "description": "最晚服务时间", |
| | | "type": "string" |
| | | }, |
| | | "member_id": { |
| | | "description": "销售负责人ID", |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "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" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.AddSolveRate": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddStatus": { |
| | | "type": "object", |
| | | "required": [ |
| | |
| | | "request.AddSubOrder": { |
| | | "type": "object", |
| | | "properties": { |
| | | "subOrder": { |
| | | "$ref": "#/definitions/request.SubOrder" |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "masterOrderId": { |
| | | "type": "integer" |
| | | }, |
| | | "memberId": { |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "product": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.AddTimelyRate": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddVetting": { |
| | | "type": "object", |
| | | "required": [ |
| | | "opinion", |
| | | "status", |
| | | "userId", |
| | | "vettingId", |
| | | "vettingType" |
| | | ], |
| | | "properties": { |
| | | "opinion": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "type": "integer" |
| | | }, |
| | | "userId": { |
| | | "type": "integer" |
| | | }, |
| | | "vettingId": { |
| | | "type": "integer" |
| | | }, |
| | | "vettingType": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "pos": { |
| | | "description": "用户岗位", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.Client": { |
| | | "type": "object", |
| | | "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" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "request.Register": { |
| | | "type": "object", |
| | | "properties": { |
| | | "authorityId": { |
| | | "description": "用户角色ID", |
| | | "type": "integer" |
| | | }, |
| | | "departmentId": { |
| | | "type": "integer" |
| | | }, |
| | | "email": { |
| | | "type": "string", |
| | | "example": "电子邮箱" |
| | | "type": "string" |
| | | }, |
| | | "headerImg": { |
| | | "type": "string", |
| | | "example": "头像链接" |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "string" |
| | | }, |
| | | "nickName": { |
| | | "type": "string", |
| | | "example": "昵称" |
| | | "type": "string" |
| | | }, |
| | | "passWord": { |
| | | "type": "string", |
| | | "example": "密码" |
| | | "password": { |
| | | "type": "string" |
| | | }, |
| | | "phone": { |
| | | "type": "string", |
| | | "example": "电话号码" |
| | | "type": "string" |
| | | }, |
| | | "userName": { |
| | | "type": "string", |
| | | "example": "用户名" |
| | | "pos": { |
| | | "type": "string" |
| | | }, |
| | | "rePassword": { |
| | | "description": "确认密码", |
| | | "type": "string" |
| | | }, |
| | | "realName": { |
| | | "type": "string" |
| | | }, |
| | | "userType": { |
| | | "$ref": "#/definitions/constvar.UserType" |
| | | }, |
| | | "username": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "string" |
| | | }, |
| | | "deliveryDate": { |
| | | "type": "string" |
| | | }, |
| | | "logisticCompany": { |
| | | "type": "string" |
| | | }, |
| | | "logisticCost": { |
| | | "type": "number" |
| | | }, |
| | | "logisticNumber": { |
| | | "type": "string" |
| | | }, |
| | | "memberId": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.SubOrder": { |
| | | "request.UpdateAccountId": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "clientId": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "masterOrderId": { |
| | | "type": "integer" |
| | | }, |
| | | "memberId": { |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "name": { |
| | | "type": "string" |
| | | }, |
| | | "product": { |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateAccountIds": { |
| | | "type": "object", |
| | | "required": [ |
| | | "account_id" |
| | | ], |
| | | "properties": { |
| | | "account_id": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | "$ref": "#/definitions/request.UpdateAccountId" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateCurrency": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateCurrencys": { |
| | | "type": "object", |
| | | "required": [ |
| | | "currency" |
| | | ], |
| | | "properties": { |
| | | "currency": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateCurrency" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateCustomerServiceSheet": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | }, |
| | | "serviceMode": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateDepartment": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateDepartmentList": { |
| | | "type": "object", |
| | | "required": [ |
| | | "departments" |
| | | ], |
| | | "properties": { |
| | | "departments": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateDepartment" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateIsInvoice": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateIsInvoices": { |
| | | "type": "object", |
| | | "required": [ |
| | | "is_invoice" |
| | | ], |
| | | "properties": { |
| | | "is_invoice": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateIsInvoice" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateIsVisit": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateIsVisits": { |
| | | "type": "object", |
| | | "required": [ |
| | | "is_visit" |
| | | ], |
| | | "properties": { |
| | | "is_visit": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateIsVisit" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateMasterOrder": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "type": "integer" |
| | | }, |
| | | "money": { |
| | | "type": "string" |
| | | "type": "number" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | |
| | | }, |
| | | "sourceSheet": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateOrderType": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateOrderTypes": { |
| | | "type": "object", |
| | | "required": [ |
| | | "order_type" |
| | | ], |
| | | "properties": { |
| | | "order_type": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateOrderType" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateQuotationStatus": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateQuotationStatuss": { |
| | | "type": "object", |
| | | "required": [ |
| | | "quotation_status" |
| | | ], |
| | | "properties": { |
| | | "quotation_status": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateQuotationStatus" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateRefundMethod": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateRefundMethods": { |
| | | "type": "object", |
| | | "required": [ |
| | | "refund_method" |
| | | ], |
| | | "properties": { |
| | | "refund_method": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateRefundMethod" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateRegion": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateReportSource": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateReportSources": { |
| | | "type": "object", |
| | | "required": [ |
| | | "report_source" |
| | | ], |
| | | "properties": { |
| | | "report_source": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateReportSource" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateRepository": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateRepositorys": { |
| | | "type": "object", |
| | | "required": [ |
| | | "repository" |
| | | ], |
| | | "properties": { |
| | | "repository": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateRepository" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateSaleChance": { |
| | | "type": "object", |
| | | "required": [ |
| | |
| | | }, |
| | | "currency": { |
| | | "type": "integer" |
| | | }, |
| | | "detail_address": { |
| | | "type": "string" |
| | | }, |
| | | "disadvantages": { |
| | | "type": "string" |
| | |
| | | }, |
| | | "regular_customers_id": { |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "type": "string" |
| | | }, |
| | | "sale_stage_id": { |
| | | "type": "integer" |
| | |
| | | "request.UpdateSalesReturnRequest": { |
| | | "type": "object", |
| | | "properties": { |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "memberId": { |
| | | "salesReturn": { |
| | | "$ref": "#/definitions/request.SalesReturn" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateSalesReturnStatus": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "name": { |
| | | "type": "string" |
| | | }, |
| | | "products": { |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateSalesReturnStatuss": { |
| | | "type": "object", |
| | | "required": [ |
| | | "sales_return_status" |
| | | ], |
| | | "properties": { |
| | | "sales_return_status": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | "$ref": "#/definitions/request.UpdateSalesReturnStatus" |
| | | } |
| | | }, |
| | | "reason": { |
| | | "type": "string" |
| | | }, |
| | | "repository": { |
| | | "type": "string" |
| | | }, |
| | | "returnDate": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateSalesSources" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateSatisfaction": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateSatisfactions": { |
| | | "type": "object", |
| | | "required": [ |
| | | "satisfactions" |
| | | ], |
| | | "properties": { |
| | | "satisfactions": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateSatisfaction" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateServiceContractStatus": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateServiceContractStatuss": { |
| | | "type": "object", |
| | | "required": [ |
| | | "service_contract_status" |
| | | ], |
| | | "properties": { |
| | | "service_contract_status": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateServiceContractStatus" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateServiceContractType": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateServiceContractTypes": { |
| | | "type": "object", |
| | | "required": [ |
| | | "service_contract_type" |
| | | ], |
| | | "properties": { |
| | | "service_contract_type": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateServiceContractType" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateServiceFeeManage": { |
| | | "type": "object", |
| | | "properties": { |
| | | "client": { |
| | | "$ref": "#/definitions/request.Client" |
| | | "business_scope": { |
| | | "description": "经营范围", |
| | | "type": "string" |
| | | }, |
| | | "client_id": { |
| | | "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" |
| | | }, |
| | | "file": { |
| | |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "industry_id": { |
| | | "description": "所属行业", |
| | | "type": "integer" |
| | | }, |
| | | "latest_date": { |
| | | "type": "string" |
| | | }, |
| | | "latest_service_time": { |
| | | "description": "最晚服务时间", |
| | | "type": "string" |
| | | }, |
| | | "member_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": { |
| | | "type": "string" |
| | | }, |
| | | "representative": { |
| | | "description": "法人代表", |
| | | "type": "string" |
| | | }, |
| | | "service_member_id": { |
| | | "description": "服务负责人ID", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | |
| | | }, |
| | | "timelyRate": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateSolveRate": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateSolveRates": { |
| | | "type": "object", |
| | | "required": [ |
| | | "solve_rate" |
| | | ], |
| | | "properties": { |
| | | "solve_rate": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateSolveRate" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateTimelyRate": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateTimelyRates": { |
| | | "type": "object", |
| | | "required": [ |
| | | "timely_rate" |
| | | ], |
| | | "properties": { |
| | | "timely_rate": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateTimelyRate" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateVetting": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "status" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "status": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "response.AccountIdResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.AccountId" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.CurrencyResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Currency" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.DataResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "accountId": { |
| | | "description": "账户", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.AccountId" |
| | | } |
| | | }, |
| | | "city": { |
| | | "description": "城市数据", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.City" |
| | | } |
| | | }, |
| | | "client_level": { |
| | | "description": "客户等级", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ClientLevel" |
| | | } |
| | | }, |
| | | "client_origin": { |
| | | "description": "客户来源", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ClientOrigin" |
| | | } |
| | | }, |
| | | "client_status": { |
| | | "description": "客户状态", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ClientStatus" |
| | | } |
| | | }, |
| | | "client_type": { |
| | | "description": "客户类型", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ClientType" |
| | | } |
| | | }, |
| | | "country": { |
| | | "description": "国家数据", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Country" |
| | | } |
| | | }, |
| | | "currency": { |
| | | "description": "币种", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Currency" |
| | | } |
| | | }, |
| | | "department": { |
| | | "description": "部门", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Department" |
| | | } |
| | | }, |
| | | "enterprise_nature": { |
| | | "description": "企业性质", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.EnterpriseNature" |
| | | } |
| | | }, |
| | | "enterprise_scale": { |
| | | "description": "企业规模", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.EnterpriseScale" |
| | | } |
| | | }, |
| | | "industry": { |
| | | "description": "行业", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Industry" |
| | | } |
| | | }, |
| | | "isInvoice": { |
| | | "description": "是否开票", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.IsInvoice" |
| | | } |
| | | }, |
| | | "isVisit": { |
| | | "description": "服务人员是否来过", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.IsVisit" |
| | | } |
| | | }, |
| | | "member": { |
| | | "description": "Member", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | }, |
| | | "orderType": { |
| | | "description": "工单类型", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.OrderType" |
| | | } |
| | | }, |
| | | "possibility": { |
| | | "description": "可能性", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Possibility" |
| | | } |
| | | }, |
| | | "province": { |
| | | "description": "省份数据", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Province" |
| | | } |
| | | }, |
| | | "quotationStatus": { |
| | | "description": "报价单状态", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.QuotationStatus" |
| | | } |
| | | }, |
| | | "refundMethod": { |
| | | "description": "退款方式", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.RefundMethod" |
| | | } |
| | | }, |
| | | "region": { |
| | | "description": "区域数据", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Region" |
| | | } |
| | | }, |
| | | "registered_capital": { |
| | | "description": "注册资金", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.RegisteredCapital" |
| | | } |
| | | }, |
| | | "regular_customers": { |
| | | "description": "老客户营销", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.RegularCustomers" |
| | | } |
| | | }, |
| | | "reportSource": { |
| | | "description": "报表来源", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ReportSource" |
| | | } |
| | | }, |
| | | "repository": { |
| | | "description": "退货仓库", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Repository" |
| | | } |
| | | }, |
| | | "sale_stage": { |
| | | "description": "销售阶段", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.SaleStage" |
| | | } |
| | | }, |
| | | "sale_type": { |
| | | "description": "销售类型", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.SaleType" |
| | | } |
| | | }, |
| | | "salesReturnStatus": { |
| | | "description": "退货单状态", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.SalesReturnStatus" |
| | | } |
| | | }, |
| | | "sales_source": { |
| | | "description": "商机来源", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.SalesSources" |
| | | } |
| | | }, |
| | | "satisfaction": { |
| | | "description": "满意度", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Satisfaction" |
| | | } |
| | | }, |
| | | "serviceContractStatus": { |
| | | "description": "服务合同状态", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ServiceContractStatus" |
| | | } |
| | | }, |
| | | "serviceContractType": { |
| | | "description": "服务合同类型", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ServiceContractType" |
| | | } |
| | | }, |
| | | "solve_rate": { |
| | | "description": "解决率", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.SolveRate" |
| | | } |
| | | }, |
| | | "status": { |
| | | "description": "状态", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Status" |
| | | } |
| | | }, |
| | | "timely_rate": { |
| | | "description": "及时率", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.TimelyRate" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.DepartmentResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Department" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.EnterpriseNatureResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.IsInvoiceResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.IsInvoice" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.IsVisitResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.IsVisit" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.LoginResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Menu" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.OrderTypeResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.OrderType" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.QuotationStatusResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.QuotationStatus" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.RefundMethodResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.RefundMethod" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.RegisteredCapitalResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.RegularCustomers" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.ReportSourceResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ReportSource" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.RepositoryResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Repository" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.SalesReturnResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.SalesReturn" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.SalesReturnStatusResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.SalesReturnStatus" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.SalesSourceResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.SalesSources" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.SatisfactionResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Satisfaction" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.ServiceContractStatusResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ServiceContractStatus" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.ServiceContractTypeResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ServiceContractType" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.SolveRateResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.SolveRate" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.SubOrderResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.TimelyRateResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.TimelyRate" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.UserResponse": { |
| | | "type": "object", |
| | | "properties": { |