| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/base/captcha": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Base" |
| | | ], |
| | | "summary": "获取验证码", |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.LoginResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/base/login": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Base" |
| | | ], |
| | | "summary": "用户登录", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.Login" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.LoginResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/city/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/code/getAutoCode": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "编码" |
| | | ], |
| | | "summary": "获取自动编码", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/response.ListResponse" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/refundType/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "退款方式管理" |
| | | ], |
| | | "summary": "添加退款方式", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddRefundType" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/refundType/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "退款方式管理" |
| | | ], |
| | | "summary": "删除退款方式", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/refundType/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "退款方式管理" |
| | | ], |
| | | "summary": "获取退款方式列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/response.ListResponse" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.RefundType" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/refundType/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "退款方式管理" |
| | | ], |
| | | "summary": "更新退款方式", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateRefundType" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/region/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/changePassword": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "用户修改密码", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.ChangePasswordReq" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/deleteUser": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "删除用户", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.DeleteUserReq" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/getUserInfo": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "获取自身信息", |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/getUserList": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "分页获取用户列表(不传分页参数,获取全部)", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.GetUserList" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.PageResult" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/register": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "注册账号", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.Register" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.UserResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/resetPassword": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "重置用户密码", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/setSelfInfo": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "设置用户信息", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.ChangeUserInfo" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/user/setUserInfo": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "User" |
| | | ], |
| | | "summary": "设置用户信息", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.ChangeUserInfo" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/vetting/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "quotationId": { |
| | | "type": "integer" |
| | | }, |
| | | "sendTime": { |
| | | "type": "string" |
| | | }, |
| | | "serviceContractStatus": { |
| | | "$ref": "#/definitions/model.ServiceContractStatus" |
| | | }, |
| | |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "courierCompany": { |
| | | "$ref": "#/definitions/model.CourierCompany" |
| | | }, |
| | |
| | | "invoiceTypeId": { |
| | | "description": "发票类型id", |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "principalId": { |
| | | "description": "销售负责人id", |
| | |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "quotationName": { |
| | | "type": "string" |
| | | }, |
| | | "quotation_status": { |
| | | "$ref": "#/definitions/model.QuotationStatus" |
| | | }, |
| | |
| | | } |
| | | }, |
| | | "model.RefundMethod": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.RefundType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | |
| | | "process": { |
| | | "type": "string" |
| | | }, |
| | | "products": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "projected_amount": { |
| | | "type": "number" |
| | | }, |
| | |
| | | }, |
| | | "solutions": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "description": "状态", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.Status" |
| | | } |
| | | ] |
| | | }, |
| | | "status_id": { |
| | | "type": "integer" |
| | |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "deliverType": { |
| | | "type": "integer" |
| | | }, |
| | | "deliveryDate": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "quotation": { |
| | | "$ref": "#/definitions/model.Quotation" |
| | | }, |
| | | "quotationId": { |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "type": "string" |
| | |
| | | "model.SalesRefund": { |
| | | "type": "object", |
| | | "properties": { |
| | | "Source": { |
| | | "$ref": "#/definitions/model.SalesReturn" |
| | | "RefundType": { |
| | | "description": "退款方式", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.RefundType" |
| | | } |
| | | ] |
| | | }, |
| | | "amountTotal": { |
| | | "description": "价税合计", |
| | |
| | | }, |
| | | "refundDate": { |
| | | "type": "string" |
| | | }, |
| | | "refundTypeId": { |
| | | "description": "退款方式ID", |
| | | "type": "integer" |
| | | }, |
| | | "salesReturn": { |
| | | "$ref": "#/definitions/model.SalesReturn" |
| | | }, |
| | | "sourceId": { |
| | | "description": "源单id", |
| | |
| | | "severity": { |
| | | "$ref": "#/definitions/model.Severity" |
| | | }, |
| | | "severityId": { |
| | | "description": "严重程度id", |
| | | "type": "integer" |
| | | }, |
| | | "solution": { |
| | | "description": "解决方法", |
| | | "type": "string" |
| | |
| | | "description": "客户类型ID", |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "description": "所属公司ID", |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "country_id": { |
| | | "description": "国家ID", |
| | | "type": "integer" |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | }, |
| | | "quotation_id": { |
| | | "type": "integer" |
| | | }, |
| | | "sendTime": { |
| | | "description": "发货时间", |
| | | "type": "string" |
| | | }, |
| | | "status_id": { |
| | | "type": "integer" |
| | |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "courierCompanyId": { |
| | | "description": "物流公司", |
| | | "type": "integer" |
| | |
| | | "invoiceTypeId": { |
| | | "description": "发票类型id", |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "description": "发票编号", |
| | | "type": "string" |
| | | }, |
| | | "principalId": { |
| | | "description": "销售负责人id", |
| | |
| | | "properties": { |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "quotationName": { |
| | | "description": "报价单名称", |
| | | "type": "string" |
| | | }, |
| | | "quotation_status_id": { |
| | | "type": "integer" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.AddRefundType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddRegion": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | }, |
| | | "process": { |
| | | "type": "string" |
| | | }, |
| | | "products": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "projected_amount": { |
| | | "type": "number" |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "conditions": { |
| | | "type": "string" |
| | | }, |
| | | "deliverType": { |
| | | "description": "交付类型:1.一次发货,2.多次发货", |
| | | "type": "integer" |
| | | }, |
| | | "deliveryDate": { |
| | | "type": "string" |
| | |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "quotationId": { |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "properties": { |
| | | "city_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "description": "客户类型ID", |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "description": "服务方式id", |
| | | "type": "integer" |
| | | }, |
| | | "severity": { |
| | | "severityId": { |
| | | "description": "严重程度id", |
| | | "type": "integer" |
| | | }, |
| | |
| | | "properties": { |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.ChangePasswordReq": { |
| | | "type": "object", |
| | | "properties": { |
| | | "newPassword": { |
| | | "description": "新密码", |
| | | "type": "string" |
| | | }, |
| | | "password": { |
| | | "description": "密码", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.ChangeUserInfo": { |
| | | "type": "object", |
| | | "properties": { |
| | | "email": { |
| | | "description": "用户邮箱", |
| | | "type": "string" |
| | | }, |
| | | "headerImg": { |
| | | "description": "用户头像", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "用户ID", |
| | | "type": "string" |
| | | }, |
| | | "nickName": { |
| | | "description": "用户昵称", |
| | | "type": "string" |
| | | }, |
| | | "phone": { |
| | | "description": "用户手机号", |
| | | "type": "string" |
| | | }, |
| | | "pos": { |
| | | "description": "用户岗位", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.CheckClientName": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "client_id": { |
| | | "description": "所属公司ID", |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "country_id": { |
| | | "description": "国家ID", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteUserReq": { |
| | | "type": "object", |
| | | "properties": { |
| | | "userId": { |
| | | "description": "用户ID", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.DownloadFile": { |
| | | "type": "object", |
| | | "required": [ |
| | |
| | | }, |
| | | "client_status_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | |
| | | "keywordType": { |
| | | "$ref": "#/definitions/constvar.SalesDetailsKeywordType" |
| | | }, |
| | | "number": { |
| | | "description": "销售子单号", |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.GetUserList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "description": "模糊查询关键字", |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | | }, |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.Login": { |
| | | "type": "object", |
| | | "properties": { |
| | | "captcha": { |
| | | "description": "验证码", |
| | | "type": "string" |
| | | }, |
| | | "captchaId": { |
| | | "description": "验证码ID", |
| | | "type": "string" |
| | | }, |
| | | "password": { |
| | | "description": "密码", |
| | | "type": "string" |
| | | }, |
| | | "username": { |
| | | "description": "用户名", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.Plan": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.Register": { |
| | | "type": "object", |
| | | "properties": { |
| | | "authorityId": { |
| | | "description": "用户角色ID", |
| | | "type": "integer" |
| | | }, |
| | | "departmentId": { |
| | | "type": "integer" |
| | | }, |
| | | "email": { |
| | | "type": "string" |
| | | }, |
| | | "headerImg": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "string" |
| | | }, |
| | | "nickName": { |
| | | "type": "string" |
| | | }, |
| | | "password": { |
| | | "type": "string" |
| | | }, |
| | | "phone": { |
| | | "type": "string" |
| | | }, |
| | | "pos": { |
| | | "type": "string" |
| | | }, |
| | | "rePassword": { |
| | | "description": "确认密码", |
| | | "type": "string" |
| | | }, |
| | | "realName": { |
| | | "type": "string" |
| | | }, |
| | | "userType": { |
| | | "$ref": "#/definitions/constvar.UserType" |
| | | }, |
| | | "username": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.SalesDetails": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "conditions": { |
| | | "type": "string" |
| | | }, |
| | | "deliverType": { |
| | | "description": "交付类型:1.一次发货,2.多次发货", |
| | | "type": "integer" |
| | | }, |
| | | "deliveryDate": { |
| | | "type": "string" |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "quotationId": { |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "type": "string" |
| | |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "properties": { |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "client_type_id": { |
| | | "description": "客户类型ID", |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "description": "所属公司ID", |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | | }, |
| | | "country_id": { |
| | | "description": "国家ID", |
| | | "type": "integer" |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | }, |
| | | "quotation_id": { |
| | | "type": "integer" |
| | | }, |
| | | "sendTime": { |
| | | "description": "发货时间", |
| | | "type": "string" |
| | | }, |
| | | "status_id": { |
| | | "type": "integer" |
| | |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "codeStandID": { |
| | | "type": "string" |
| | | }, |
| | | "courierCompanyId": { |
| | | "description": "物流公司", |
| | | "type": "integer" |
| | |
| | | "invoiceTypeId": { |
| | | "description": "发票类型id", |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "description": "发票编号", |
| | | "type": "string" |
| | | }, |
| | | "principalId": { |
| | | "description": "销售负责人id", |
| | |
| | | "properties": { |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "quotationName": { |
| | | "description": "报价单名称", |
| | | "type": "string" |
| | | }, |
| | | "quotation_status_id": { |
| | | "type": "integer" |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateRefundMethod" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateRefundType": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | }, |
| | | "process": { |
| | | "type": "string" |
| | | }, |
| | | "products": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "projected_amount": { |
| | | "type": "number" |
| | |
| | | "properties": { |
| | | "city_id": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "description": "客户类型ID", |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | | "type": "string" |
| | |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | "description": "服务方式id", |
| | | "type": "integer" |
| | | }, |
| | | "severity": { |
| | | "severityId": { |
| | | "description": "严重程度id", |
| | | "type": "integer" |
| | | }, |
| | |
| | | "properties": { |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "codeRule": { |
| | | "$ref": "#/definitions/code.CodeStandard" |
| | | }, |
| | | "codeStandID": { |
| | | "description": "编码id", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.PageResult": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": {}, |
| | | "page": { |
| | | "type": "integer" |
| | | }, |
| | | "pageSize": { |
| | | "type": "integer" |
| | | }, |
| | | "total": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "response.PlanResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/model.TimelyRate" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.UserResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "user": { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | } |
| | | } |