definitions: code.CodeAuto: properties: AutoLength: type: integer Desc: type: string PrefixMethod: type: integer PrefixValue: type: string SuffixMethod: type: integer type: object code.CodeRule: properties: Desc: type: string Length: type: integer Name: type: string type: object code.CodeStandard: properties: AutoRule: $ref: '#/definitions/code.CodeAuto' ID: type: string List: items: $ref: '#/definitions/code.CodeRule' type: array Method: type: integer Name: type: string Status: type: string Type: type: string type: object config.CORS: properties: mode: type: string whitelist: items: $ref: '#/definitions/config.CORSWhitelist' type: array type: object config.CORSWhitelist: properties: allow-credentials: type: boolean allow-headers: type: string allow-methods: type: string allow-origin: type: string expose-headers: type: string type: object config.Mssql: properties: config: description: 高级配置 type: string db-name: description: 数据库名 type: string engine: default: InnoDB description: 数据库引擎,默认InnoDB type: string log-mode: description: 是否开启Gorm全局日志 type: string log-zap: description: 是否通过zap写入日志文件 type: boolean max-idle-conns: description: 空闲中的最大连接数 type: integer max-open-conns: description: 打开到数据库的最大连接数 type: integer password: description: 数据库密码 type: string path: type: string port: type: string prefix: type: string singular: description: 是否开启全局禁用复数,true表示开启 type: boolean username: description: 数据库密码 type: string type: object config.Mysql: properties: config: description: 高级配置 type: string db-name: description: 数据库名 type: string engine: default: InnoDB description: 数据库引擎,默认InnoDB type: string log-mode: description: 是否开启Gorm全局日志 type: string log-zap: description: 是否通过zap写入日志文件 type: boolean max-idle-conns: description: 空闲中的最大连接数 type: integer max-open-conns: description: 打开到数据库的最大连接数 type: integer password: description: 数据库密码 type: string path: type: string port: type: string prefix: type: string singular: description: 是否开启全局禁用复数,true表示开启 type: boolean username: description: 数据库密码 type: string type: object config.Oracle: properties: config: description: 高级配置 type: string db-name: description: 数据库名 type: string engine: default: InnoDB description: 数据库引擎,默认InnoDB type: string log-mode: description: 是否开启Gorm全局日志 type: string log-zap: description: 是否通过zap写入日志文件 type: boolean max-idle-conns: description: 空闲中的最大连接数 type: integer max-open-conns: description: 打开到数据库的最大连接数 type: integer password: description: 数据库密码 type: string path: type: string port: type: string prefix: type: string singular: description: 是否开启全局禁用复数,true表示开启 type: boolean username: description: 数据库密码 type: string type: object config.Pgsql: properties: config: description: 高级配置 type: string db-name: description: 数据库名 type: string engine: default: InnoDB description: 数据库引擎,默认InnoDB type: string log-mode: description: 是否开启Gorm全局日志 type: string log-zap: description: 是否通过zap写入日志文件 type: boolean max-idle-conns: description: 空闲中的最大连接数 type: integer max-open-conns: description: 打开到数据库的最大连接数 type: integer password: description: 数据库密码 type: string path: type: string port: type: string prefix: type: string singular: description: 是否开启全局禁用复数,true表示开启 type: boolean username: description: 数据库密码 type: string type: object config.Server: properties: cors: allOf: - $ref: '#/definitions/config.CORS' description: 跨域配置 db-list: items: $ref: '#/definitions/config.SpecializedDB' type: array mssql: $ref: '#/definitions/config.Mssql' mysql: allOf: - $ref: '#/definitions/config.Mysql' description: gorm oracle: $ref: '#/definitions/config.Oracle' pgsql: $ref: '#/definitions/config.Pgsql' sqlite: $ref: '#/definitions/config.Sqlite' system: $ref: '#/definitions/config.System' zap: allOf: - $ref: '#/definitions/config.Zap' description: JWT JWT `mapstructure:"jwt" json:"jwt" yaml:"jwt"` type: object config.SpecializedDB: properties: alias-name: type: string config: description: 高级配置 type: string db-name: description: 数据库名 type: string disable: type: boolean engine: default: InnoDB description: 数据库引擎,默认InnoDB type: string log-mode: description: 是否开启Gorm全局日志 type: string log-zap: description: 是否通过zap写入日志文件 type: boolean max-idle-conns: description: 空闲中的最大连接数 type: integer max-open-conns: description: 打开到数据库的最大连接数 type: integer password: description: 数据库密码 type: string path: type: string port: type: string prefix: type: string singular: description: 是否开启全局禁用复数,true表示开启 type: boolean type: type: string username: description: 数据库密码 type: string type: object config.Sqlite: properties: config: description: 高级配置 type: string db-name: description: 数据库名 type: string engine: default: InnoDB description: 数据库引擎,默认InnoDB type: string log-mode: description: 是否开启Gorm全局日志 type: string log-zap: description: 是否通过zap写入日志文件 type: boolean max-idle-conns: description: 空闲中的最大连接数 type: integer max-open-conns: description: 打开到数据库的最大连接数 type: integer password: description: 数据库密码 type: string path: type: string port: type: string prefix: type: string singular: description: 是否开启全局禁用复数,true表示开启 type: boolean username: description: 数据库密码 type: string type: object config.System: properties: addr: description: 端口值 type: integer db-type: description: 数据库类型:mysql(默认)|sqlite|sqlserver|postgresql type: string env: description: 环境值 type: string grpc-admin-url: description: admin grpc服务地址 type: string grpc-port: description: 对外提供服务grpc端口 type: string grpc-url: description: aps grpc服务地址 type: string grpc-wms-url: description: wms grpc服务地址 type: string router-prefix: type: string type: object config.Zap: properties: director: description: 日志文件夹 type: string encode-level: description: 编码级 type: string format: description: 输出 type: string level: description: 级别 type: string log-in-console: description: 输出控制台 type: boolean max-age: description: 日志留存时间 type: integer prefix: description: 日志前缀 type: string show-line: description: 显示行 type: boolean stacktrace-key: description: 栈名 type: string type: object constvar.MiniDictType: enum: - 1 - 2 - 3 - 4 - 5 - 6 - 7 type: integer x-enum-comments: EarlyWarningDay: 预警天数 InspectionWayType: 质检方式类型 MiniDictTypeBomVersionType: Bom版本类型 MiniDictTypePlcBrand: PLC品牌 OutsourcingSupplierCreditGrade: 信用等级 OutsourcingSupplierRange: 供货范围 OutsourcingSupplierType: 委外供应商类型 x-enum-varnames: - MiniDictTypePlcBrand - MiniDictTypeBomVersionType - EarlyWarningDay - InspectionWayType - OutsourcingSupplierType - OutsourcingSupplierCreditGrade - OutsourcingSupplierRange constvar.RecordStatus: enum: - 0 - 1 - 2 type: integer x-enum-comments: RecordStatusActive: 启用 RecordStatusCreate: 新建 RecordStatusInactive: 停用 x-enum-varnames: - RecordStatusCreate - RecordStatusActive - RecordStatusInactive contextx.Response: properties: code: type: integer data: {} msg: type: string type: object gorm.DeletedAt: properties: time: type: string valid: description: Valid is true if Time is not NULL type: boolean type: object model.MiniDict: properties: createdAt: type: string id: type: integer isDefault: type: boolean name: type: string type: $ref: '#/definitions/constvar.MiniDictType' updatedAt: type: string value: type: string type: object models.OutsourcingEnterprise: properties: address: description: 地址 type: string contact: description: 联系人 type: string createdAt: type: string creditGrade: description: 信用等级 type: string deletedAt: $ref: '#/definitions/gorm.DeletedAt' enterpriseType: description: 企业类型 type: string id: type: integer name: description: 委外企业编号名称 type: string number: description: 委外企业编号 type: string organizationCode: description: 组织机构代码 type: string status: allOf: - $ref: '#/definitions/constvar.RecordStatus' description: 状态 0 新建 1 启用 2停用 supplyCapacity: description: 供货能力 type: string supplyRange: description: 供货范围 type: string tel: description: 联系方式 type: string updatedAt: type: string type: object outsourcingrequest.OutsourcingEnterprise: properties: address: description: 地址 type: string contact: description: 联系人 type: string creditGrade: description: 信用等级 type: string enterpriseType: description: 企业类型 type: string id: type: integer name: description: 委外供应商编号名称 type: string number: description: 委外供应商编号 type: string organizationCode: description: 组织机构代码 type: string status: allOf: - $ref: '#/definitions/constvar.RecordStatus' description: 状态 0 新建 1 启用 2停用 supplyCapacity: description: 供货能力 type: string supplyRange: description: 供货范围 type: string tel: description: 联系方式 type: string required: - enterpriseType - name - number type: object outsourcingrequest.OutsourcingEnterpriseOverview: properties: close: description: 停用数量 type: integer open: description: 启用数量 type: integer total: description: 总量 type: integer type: object purchase.OrderStatus: enum: - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 type: integer x-enum-comments: OrderStatusCanceled: 已取消 OrderStatusCompleted: 已完成 OrderStatusConfirmed: 待确认 OrderStatusPartReceive: 部分收货 OrderStatusReceived: 待入库 OrderStatusStored: 已入库 OrderStatusWaitQuality: 待质检 OrderStatusWaitReceive: 待收货 x-enum-varnames: - OrderStatusConfirmed - OrderStatusReceived - OrderStatusStored - OrderStatusCompleted - OrderStatusCanceled - OrderStatusWaitReceive - OrderStatusPartReceive - OrderStatusWaitQuality purchase.PriceAdjustmentType: enum: - 1 - 2 type: integer x-enum-comments: PriceAdjustmentTypeAdd: 增加 PriceAdjustmentTypeSub: 减少 x-enum-varnames: - PriceAdjustmentTypeAdd - PriceAdjustmentTypeSub purchase.Purchase: properties: contact: description: 联系人 type: string created_at: type: string creator: description: 制单人 type: string deliveryDate: description: 交付日期 type: string handledBy: description: 经办人 type: string id: description: 主键ID example: "0" type: string invoiceAmount: description: 已收票金额 type: number name: description: 采购名称 type: string number: description: 采购编号 type: string orderSource: description: 单据来源 type: string orderType: description: 单据类型 type: string paidAmount: description: 已付金额 type: number phone: description: 联系人电话 type: string priceAdjustment: description: 价格调整值 type: number priceAdjustmentType: allOf: - $ref: '#/definitions/purchase.PriceAdjustmentType' description: 价格调整类型 principal: description: 仓库负责人 type: string purchaseType: $ref: '#/definitions/purchase.PurchaseType' purchaseTypeId: description: 采购类型id example: "0" type: string quantity: description: 采购数量 type: number realTotalPrice: description: 最终价格 type: number remark: description: 备注 type: string shouldPayAmount: description: 应付金额 type: number signingDate: description: 签约日期 type: string sourceOrder: description: 来源单据 ,销售明细编码 type: string status: allOf: - $ref: '#/definitions/purchase.OrderStatus' description: 状态 supplier: $ref: '#/definitions/test.Supplier' supplierId: description: 供应商id example: "0" type: string totalPrice: description: 价税合计 type: number unInvoiceAmount: description: 未收票金额 type: number updated_at: type: string warehouse: description: 收货仓库 type: string warehouseAddress: description: 收货仓库地址 type: string wholeDiscount: description: 整单折扣值 type: number wholeDiscountType: allOf: - $ref: '#/definitions/purchase.WholeDiscountType' description: 整单折扣类型 type: object purchase.PurchaseProductConfirm: properties: amount: type: number created_at: type: string id: description: 主键ID example: "0" type: string notReceiveAmount: type: number nowReceiveAmount: description: 本次收货数量 type: number overReceiveAmount: type: number principal: type: string productId: type: string productName: type: string purchaseNumber: type: string specs: type: string surplusReceiveAmount: type: number type: type: string unit: type: string updated_at: type: string type: object purchase.PurchaseProducts: properties: amount: description: 采购数量 type: number created_at: type: string id: description: 主键ID type: integer price: description: 采购单价 type: number productId: description: 产品id type: integer purchaseId: description: 采购id type: integer remark: description: 描述 type: string total: description: 采购总价 type: number updated_at: type: string type: object purchase.PurchaseType: properties: created_at: type: string id: description: 主键ID example: "0" type: string name: description: 采购类型 type: string pin: description: 是否置顶 type: boolean sort: description: 排序 type: integer updated_at: type: string type: object purchase.WholeDiscountType: enum: - 1 - 2 type: integer x-enum-comments: WholeDiscountTypeDiscount: 直接降价 WholeDiscountTypePercent: 百分比降价 x-enum-varnames: - WholeDiscountTypePercent - WholeDiscountTypeDiscount purchase_wms.SrmGetWarehouseInfoResponse: properties: info: items: $ref: '#/definitions/purchase_wms.SrmWarehouseInfo' type: array type: object purchase_wms.SrmWarehouseInfo: properties: address: description: 仓库地址 type: string name: description: 仓库名 type: string principal: description: 仓库负责人 type: string type: object purchaserequest.AddPurchase: properties: productList: items: $ref: '#/definitions/purchase.PurchaseProducts' type: array purchase: $ref: '#/definitions/purchaserequest.Purchase' type: object purchaserequest.GetQualityInspectionInfo: properties: purchaseNumber: type: string status: items: type: integer type: array times: items: type: string type: array type: object purchaserequest.Purchase: properties: contact: description: 联系人 type: string deliveryDate: description: 交付日期 type: string id: description: 主键ID example: "0" type: string name: description: 采购名称 type: string number: description: 采购编号 type: string orderSource: description: 单据来源 type: string phone: description: 联系人电话 type: string priceAdjustment: description: 价格调整值 type: number priceAdjustmentType: allOf: - $ref: '#/definitions/purchase.PriceAdjustmentType' description: 价格调整类型 principal: description: 仓库负责人 type: string purchaseTypeId: description: 采购类型id example: "0" type: string quantity: description: 采购数量 type: number realTotalPrice: description: 最终价格 type: number remark: description: 备注 type: string signingDate: description: 签约日期 type: string sourceOrder: description: 来源单据 type: string status: allOf: - $ref: '#/definitions/purchase.OrderStatus' description: 状态 supplierId: description: 供应商id example: "0" type: string totalPrice: description: 价税合计 type: number warehouse: description: 收货仓库 type: string warehouseAddress: description: 收货仓库地址 type: string wholeDiscount: description: 整单折扣值 type: number wholeDiscountType: allOf: - $ref: '#/definitions/purchase.WholeDiscountType' description: 整单折扣类型 type: object purchaserequest.PurchaseProductConfirmInfo: properties: amount: type: number notReceiveAmount: type: number nowReceiveAmount: type: number overReceiveAmount: type: number principal: type: string productId: type: string productName: type: string purchaseNumber: type: string specs: type: string surplusReceiveAmount: type: number type: type: string unit: type: string type: object purchaserequest.PurchaseType: properties: id: description: 主键ID example: "0" type: string name: description: 采购类型 type: string pin: description: 是否置顶 type: boolean sort: description: 排序 type: integer type: object purchaserequest.SaveQualityInspectionInfo: properties: ids: items: type: integer type: array purchaseId: type: integer status: type: integer type: object purchaserequest.SubmitPurchase: properties: id: type: integer status: $ref: '#/definitions/purchase.OrderStatus' type: object purchaserequest.UpdatePurchase: properties: productList: items: $ref: '#/definitions/purchase.PurchaseProducts' type: array purchase: $ref: '#/definitions/purchaserequest.Purchase' type: object request.IdsReq: properties: ids: items: type: integer type: array type: object request.IndustryList: properties: industries: items: $ref: '#/definitions/test.Industry' type: array type: object request.Product: properties: categoryName: type: string deliveryTime: type: integer modelNumber: type: string name: type: string number: type: string purchasePrice: type: number shippingDuration: type: integer specifications: type: string supplier: type: string supplierId: type: integer supplierName: type: string supplierNumber: type: string unit: type: string type: object request.ProductCreate: properties: list: items: $ref: '#/definitions/request.Product' type: array type: object request.SupplierStatus: properties: id: type: integer status: type: integer type: object request.SupplierTypeList: properties: supplierTypes: items: $ref: '#/definitions/test.SupplierType' type: array type: object response.InWarehouseInfo: properties: name: description: 产品名称 type: string number: description: 产品编码 type: string operationNumber: description: 入库单号 type: string overAmount: description: 入库数 type: integer overTime: description: 入库时间 type: string principal: description: 负责人 type: string status: type: integer warehouseName: description: 仓库名 type: string type: object response.OperationInfo: properties: inWarehouseInfos: items: $ref: '#/definitions/response.InWarehouseInfo' type: array productInfos: items: $ref: '#/definitions/response.ProductInfo' type: array type: object response.PageResult: properties: list: {} page: type: integer pageSize: type: integer total: type: integer type: object response.ProductInfo: properties: amount: description: 采购数 type: number modelNumber: description: 型号 type: string name: description: 产品名称 type: string number: description: 产品编码 type: string overAmount: description: 入库数 type: integer purchasePrice: description: 单价 type: number sendAmount: description: 收货数 type: integer specifications: description: 规格 type: string total: description: 总价 type: number unit: description: 单位 type: string type: object response.PurchaseProducts: properties: amount: description: 采购数量 type: number deliveryTime: type: integer modelNumber: type: string name: type: string number: type: string price: description: 采购单价 type: number productId: description: 产品id type: integer productType: type: string purchaseId: description: 采购id type: integer purchasePrice: type: number remark: description: 描述 type: string shippingDuration: type: integer specifications: type: string total: description: 采购总价 type: number unit: type: string type: object response.PurchaseResponse: properties: productList: items: $ref: '#/definitions/response.PurchaseProducts' type: array purchase: $ref: '#/definitions/purchase.Purchase' type: object response.Response: properties: code: type: integer data: {} msg: type: string type: object srm_model_common_request.GetById: properties: id: description: 主键ID type: integer type: object system.System: properties: config: $ref: '#/definitions/config.Server' type: object test.Contract: properties: created_at: type: string fileName: type: string id: description: 主键ID type: integer supplierID: type: integer updated_at: type: string type: object test.Industry: properties: created_at: type: string id: description: 主键ID type: integer name: type: string updated_at: type: string type: object test.Member: properties: created_at: type: string id: description: 主键ID type: integer nickname: type: string updated_at: type: string userName: type: string uuid: type: string type: object test.Supplier: properties: account: type: string accountName: type: string bank: type: string contact: type: string contract: $ref: '#/definitions/test.Contract' created_at: type: string detailAddress: type: string email: type: string fileId: type: integer id: description: 主键ID example: "0" type: string industry: type: string name: type: string number: type: string phone: type: string responsiblePersonName: type: string status: type: integer supplierType: type: string updated_at: type: string url: type: string type: object test.SupplierMaterial: properties: categoryName: description: 产品类别名称 type: string created_at: type: string deliveryTime: description: 供货时长 type: integer id: description: 主键ID type: integer maximumStock: type: integer minimumStock: type: integer modelNumber: type: string name: type: string number: type: string purchasePrice: type: number shippingDuration: description: 物流时长 type: integer specifications: type: string supplier: $ref: '#/definitions/test.Supplier' supplierId: type: integer unit: type: string updated_at: type: string type: object test.SupplierType: properties: created_at: type: string id: description: 主键ID type: integer name: type: string updated_at: type: string type: object utils.Response: properties: code: type: integer data: {} msg: type: string type: object utils.ResponseList: properties: code: type: integer data: {} msg: type: string page: type: integer pageSize: type: integer total: type: integer type: object v1.GetMiniDictList: properties: type: $ref: '#/definitions/constvar.MiniDictType' type: object v1.MiniDict: properties: isDefault: type: boolean name: type: string value: type: string type: object v1.SaveMiniDict: properties: list: items: $ref: '#/definitions/v1.MiniDict' type: array type: $ref: '#/definitions/constvar.MiniDictType' type: object info: contact: {} description: This is a sample Server pets title: Swagger Example API version: 0.0.1 paths: /code/getAutoCode: post: parameters: - description: 参数 in: body name: object required: true schema: $ref: '#/definitions/code.CodeStandard' produces: - application/json responses: "200": description: OK schema: allOf: - $ref: '#/definitions/response.Response' - properties: data: additionalProperties: true type: object type: object summary: 获取自动编码 tags: - 编码 /code/getCodeList: get: parameters: - in: query name: codeStandID type: string - in: query name: name type: string - description: 页码 in: query name: page type: integer - description: 每页大小 in: query name: pageSize type: integer - in: query name: type type: string produces: - application/json responses: "200": description: OK schema: allOf: - $ref: '#/definitions/response.Response' - properties: data: items: $ref: '#/definitions/code.CodeStandard' type: array type: object summary: 获取编码列表 tags: - 编码 /con/createContract: post: consumes: - multipart/form-data parameters: - description: 上传文件 in: formData name: file required: true type: file - description: 文件名称 in: formData name: name required: true type: string produces: - multipart/form-data responses: "200": description: '{"success":true,"data":{},"msg":"获取成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 创建Contract tags: - Contract /con/deleteContract: delete: consumes: - application/json parameters: - description: 删除Contract in: body name: data required: true schema: $ref: '#/definitions/test.Contract' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"删除成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 删除Contract tags: - Contract /con/deleteContractByIds: delete: consumes: - application/json parameters: - description: 批量删除Contract in: body name: data required: true schema: $ref: '#/definitions/request.IdsReq' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"批量删除成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 批量删除Contract tags: - Contract /con/findContract: get: consumes: - application/json parameters: - in: query name: created_at type: string - in: query name: fileName type: string - description: 主键ID in: query name: id type: integer - in: query name: supplierID type: integer - in: query name: updated_at type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"查询成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 用id查询Contract tags: - Contract /con/getContractList: get: consumes: - application/json parameters: - in: query name: created_at type: string - in: query name: endCreatedAt type: string - in: query name: fileName type: string - description: 主键ID in: query name: id type: integer - description: 关键字 in: query name: keyword type: string - description: 页码 in: query name: page type: integer - description: 每页大小 in: query name: pageSize type: integer - in: query name: startCreatedAt type: string - in: query name: supplierID type: integer - in: query name: updated_at type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"获取成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 分页获取Contract列表 tags: - Contract /con/updateContract: put: consumes: - application/json parameters: - description: 更新Contract in: body name: data required: true schema: $ref: '#/definitions/test.Contract' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"更新成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 更新Contract tags: - Contract /dict/getMiniDictList: post: parameters: - description: 参数 in: body name: object required: true schema: $ref: '#/definitions/v1.GetMiniDictList' - description: token in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: 成功 schema: allOf: - $ref: '#/definitions/utils.ResponseList' - properties: data: items: $ref: '#/definitions/model.MiniDict' type: array type: object summary: 获取迷你字典列表 tags: - 数据字典 /dict/saveMiniDict: post: parameters: - description: 参数 in: body name: object required: true schema: $ref: '#/definitions/v1.SaveMiniDict' - description: token in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: 成功 schema: $ref: '#/definitions/utils.Response' summary: 更新迷你字典 tags: - 数据字典 /downloadContract: get: consumes: - application/json parameters: - in: query name: created_at type: string - in: query name: fileName type: string - description: 主键ID in: query name: id type: integer - in: query name: supplierID type: integer - in: query name: updated_at type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"下载成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 下载Contract tags: - Contract /i/createIndustry: post: consumes: - application/json parameters: - description: 创建Industry in: body name: data required: true schema: $ref: '#/definitions/test.Industry' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"获取成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 创建Industry tags: - Industry /i/deleteIndustry: delete: consumes: - application/json parameters: - description: 删除Industry in: body name: data required: true schema: $ref: '#/definitions/test.Industry' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"删除成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 删除Industry tags: - Industry /i/deleteIndustryByIds: delete: consumes: - application/json parameters: - description: 批量删除Industry in: body name: data required: true schema: $ref: '#/definitions/request.IdsReq' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"批量删除成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 批量删除Industry tags: - Industry /i/findIndustry: get: consumes: - application/json parameters: - in: query name: created_at type: string - description: 主键ID in: query name: id type: integer - in: query name: name type: string - in: query name: updated_at type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"查询成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 用id查询Industry tags: - Industry /i/getIndustryList: get: consumes: - application/json parameters: - in: query name: created_at type: string - in: query name: endCreatedAt type: string - description: 主键ID in: query name: id type: integer - description: 关键字 in: query name: keyword type: string - in: query name: name type: string - description: 页码 in: query name: page type: integer - description: 每页大小 in: query name: pageSize type: integer - in: query name: startCreatedAt type: string - in: query name: updated_at type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"获取成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 分页获取Industry列表 tags: - Industry /i/updateIndustry: put: consumes: - application/json parameters: - description: 更新Industry in: body name: data required: true schema: $ref: '#/definitions/request.IndustryList' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"更新成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 更新Industry tags: - Industry /m/createMember: post: consumes: - application/json parameters: - description: 创建Member in: body name: data required: true schema: $ref: '#/definitions/test.Member' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"获取成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 创建Member tags: - Member /m/deleteMember: delete: consumes: - application/json parameters: - description: 删除Member in: body name: data required: true schema: $ref: '#/definitions/test.Member' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"删除成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 删除Member tags: - Member /m/deleteMemberByIds: delete: consumes: - application/json parameters: - description: 批量删除Member in: body name: data required: true schema: $ref: '#/definitions/request.IdsReq' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"批量删除成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 批量删除Member tags: - Member /m/findMember: get: consumes: - application/json parameters: - in: query name: created_at type: string - description: 主键ID in: query name: id type: integer - in: query name: nickname type: string - in: query name: updated_at type: string - in: query name: userName type: string - in: query name: uuid type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"查询成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 用id查询Member tags: - Member /m/getMemberList: get: consumes: - application/json parameters: - in: query name: created_at type: string - in: query name: endCreatedAt type: string - description: 主键ID in: query name: id type: integer - description: 关键字 in: query name: keyword type: string - in: query name: nickname type: string - description: 页码 in: query name: page type: integer - description: 每页大小 in: query name: pageSize type: integer - in: query name: startCreatedAt type: string - in: query name: updated_at type: string - in: query name: userName type: string - in: query name: uuid type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"获取成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 分页获取Member列表 tags: - Member /m/getMemberListFromGrpc: get: consumes: - application/json parameters: - in: query name: created_at type: string - in: query name: endCreatedAt type: string - description: 主键ID in: query name: id type: integer - description: 关键字 in: query name: keyword type: string - in: query name: nickname type: string - description: 页码 in: query name: page type: integer - description: 每页大小 in: query name: pageSize type: integer - in: query name: startCreatedAt type: string - in: query name: updated_at type: string - in: query name: userName type: string - in: query name: uuid type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"获取成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 分页获取Member列表 tags: - Member /m/updateMember: put: consumes: - application/json parameters: - description: 更新Member in: body name: data required: true schema: $ref: '#/definitions/test.Member' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"更新成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 更新Member tags: - Member /outsourcing/enterprise/add: post: parameters: - description: token in: header name: Authorization required: true type: string - description: 查询参数 in: body name: object required: true schema: $ref: '#/definitions/outsourcingrequest.OutsourcingEnterprise' produces: - application/json responses: "200": description: 成功 schema: $ref: '#/definitions/contextx.Response' summary: 企业新增 tags: - 委外企业管理 /outsourcing/enterprise/list: get: parameters: - description: token in: header name: Authorization required: true type: string - in: query name: keyword type: string - description: 页码 in: query name: page type: integer - description: 每页大小 in: query name: pageSize type: integer - description: 状态 0 新建 1 启用 2停用 enum: - 0 - 1 - 2 in: query name: status type: integer x-enum-comments: RecordStatusActive: 启用 RecordStatusCreate: 新建 RecordStatusInactive: 停用 x-enum-varnames: - RecordStatusCreate - RecordStatusActive - RecordStatusInactive produces: - application/json responses: "200": description: 成功 schema: allOf: - $ref: '#/definitions/utils.ResponseList' - properties: data: items: $ref: '#/definitions/models.OutsourcingEnterprise' type: array type: object summary: 企业列表 tags: - 委外企业管理 /outsourcing/enterprise/overview: get: parameters: - description: token in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: 成功 schema: allOf: - $ref: '#/definitions/utils.ResponseList' - properties: data: $ref: '#/definitions/outsourcingrequest.OutsourcingEnterpriseOverview' type: object summary: 企业统计 tags: - 委外企业管理 /outsourcing/enterprise/update: post: parameters: - description: token in: header name: Authorization required: true type: string - description: 查询参数 in: body name: object required: true schema: $ref: '#/definitions/outsourcingrequest.OutsourcingEnterprise' produces: - application/json responses: "200": description: 成功 schema: $ref: '#/definitions/contextx.Response' summary: 企业修改 tags: - 委外企业管理 /p/createProduct: post: consumes: - application/json parameters: - description: 创建Product in: body name: data required: true schema: $ref: '#/definitions/request.ProductCreate' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"获取成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 创建Product tags: - Product /p/deleteProduct: delete: consumes: - application/json parameters: - description: 删除Product in: body name: data required: true schema: $ref: '#/definitions/srm_model_common_request.GetById' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"删除成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 删除Product tags: - Product /p/deleteProductByIds: delete: consumes: - application/json parameters: - description: 批量删除Product in: body name: data required: true schema: $ref: '#/definitions/request.IdsReq' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"批量删除成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 批量删除Product tags: - Product /p/findProduct: get: consumes: - application/json parameters: - description: 主键ID in: query name: id type: integer produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"查询成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 用id查询Product tags: - Product /p/getProductList: get: consumes: - application/json parameters: - in: query name: categoryName type: string - in: query name: deliveryTime type: integer - description: 关键字 in: query name: keyword type: string - in: query name: modelNumber type: string - in: query name: name type: string - in: query name: number type: string - description: 页码 in: query name: page type: integer - description: 每页大小 in: query name: pageSize type: integer - in: query name: purchasePrice type: number - in: query name: shippingDuration type: integer - in: query name: specifications type: string - in: query name: supplier type: string - in: query name: supplierId type: integer - in: query name: supplierName type: string - in: query name: supplierNumber type: string - in: query name: unit type: string - description: token in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"获取成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 分页获取Product列表 tags: - Product /p/getProductListFromGrpc: get: consumes: - application/json parameters: - in: query name: categoryName type: string - in: query name: deliveryTime type: integer - description: 关键字 in: query name: keyword type: string - in: query name: modelNumber type: string - in: query name: name type: string - in: query name: number type: string - description: 页码 in: query name: page type: integer - description: 每页大小 in: query name: pageSize type: integer - in: query name: purchasePrice type: number - in: query name: shippingDuration type: integer - in: query name: specifications type: string - in: query name: supplier type: string - in: query name: supplierId type: integer - in: query name: supplierName type: string - in: query name: supplierNumber type: string - in: query name: unit type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"获取成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 分页获取Product列表 tags: - Product /p/updateProduct: put: consumes: - application/json parameters: - description: 更新Product in: body name: data required: true schema: $ref: '#/definitions/test.SupplierMaterial' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"更新成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 更新Product tags: - Product /previewContract: get: consumes: - application/json parameters: - in: query name: created_at type: string - in: query name: fileName type: string - description: 主键ID in: query name: id type: integer - in: query name: supplierID type: integer - in: query name: updated_at type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"预览成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 预览Contract tags: - Contract /purchase/allProductInWarehouse: post: consumes: - application/json parameters: - description: 参数 in: body name: data required: true schema: $ref: '#/definitions/purchaserequest.PurchaseProductConfirmInfo' produces: - application/json responses: "200": description: 获取确认信息 schema: $ref: '#/definitions/response.Response' security: - ApiKeyAuth: [] summary: 全部合格入库 tags: - Purchase /purchase/getOperationInfo/{id}: get: consumes: - application/json produces: - application/json responses: "200": description: 获取操作信息 schema: allOf: - $ref: '#/definitions/response.Response' - properties: data: items: $ref: '#/definitions/response.OperationInfo' type: array type: object security: - ApiKeyAuth: [] summary: 获取操作信息 tags: - Purchase /purchase/getPurchaseProductConfirmInfo/{number}: get: consumes: - application/json parameters: - description: 采购单编码 in: path name: number required: true type: string produces: - application/json responses: "200": description: 获取确认信息 schema: allOf: - $ref: '#/definitions/response.Response' - properties: data: items: $ref: '#/definitions/purchase.PurchaseProductConfirm' type: array type: object security: - ApiKeyAuth: [] summary: 获取确认信息 tags: - Purchase /purchase/getPurchaseQualityInspectionInfo: post: consumes: - application/json parameters: - description: 参数 in: body name: data required: true schema: $ref: '#/definitions/purchaserequest.GetQualityInspectionInfo' produces: - application/json responses: "200": description: 获取确认信息 schema: allOf: - $ref: '#/definitions/response.Response' - properties: data: items: $ref: '#/definitions/purchase.PurchaseProductConfirm' type: array type: object security: - ApiKeyAuth: [] summary: 获取采购质检信息信息 tags: - Purchase /purchase/getWarehouseInfo: get: consumes: - application/json produces: - application/json responses: "200": description: 获取采购类型列表 schema: allOf: - $ref: '#/definitions/response.Response' - properties: data: items: $ref: '#/definitions/purchase_wms.SrmGetWarehouseInfoResponse' type: array type: object security: - ApiKeyAuth: [] summary: 获取仓库列表 tags: - Purchase /purchase/newSubmit: post: consumes: - application/json parameters: - description: 参数 in: body name: data required: true schema: $ref: '#/definitions/purchaserequest.SubmitPurchase' produces: - application/json responses: "200": description: 新版提交 schema: allOf: - $ref: '#/definitions/response.Response' - properties: msg: type: string type: object security: - ApiKeyAuth: [] summary: 新版提交 tags: - Purchase /purchase/purchase: post: consumes: - application/json parameters: - description: 采购单,采购单产品 in: body name: data required: true schema: $ref: '#/definitions/purchaserequest.AddPurchase' produces: - application/json responses: "200": description: 创建采购单 schema: allOf: - $ref: '#/definitions/response.Response' - properties: msg: type: string type: object security: - ApiKeyAuth: [] summary: 创建采购单 tags: - Purchase put: consumes: - application/json parameters: - description: 采购单ID, 采购单信息 in: body name: data required: true schema: $ref: '#/definitions/purchaserequest.UpdatePurchase' produces: - application/json responses: "200": description: 更新采购单信息 schema: allOf: - $ref: '#/definitions/response.Response' - properties: msg: type: string type: object security: - ApiKeyAuth: [] summary: 更新采购单信息 tags: - Purchase /purchase/purchase/{id}: delete: consumes: - application/json parameters: - description: 采购单ID in: path name: id required: true type: integer produces: - application/json responses: "200": description: 删除采购单 schema: allOf: - $ref: '#/definitions/response.Response' - properties: msg: type: string type: object security: - ApiKeyAuth: [] summary: 删除采购单 tags: - Purchase get: consumes: - application/json parameters: - description: 采购单ID in: path name: id required: true type: integer produces: - application/json responses: "200": description: 获取单一采购单信息,返回包括采购单详情 schema: allOf: - $ref: '#/definitions/response.Response' - properties: data: $ref: '#/definitions/response.PurchaseResponse' msg: type: string type: object security: - ApiKeyAuth: [] summary: 获取单一采购单信息 tags: - Purchase /purchase/purchaseList: get: consumes: - application/json parameters: - description: 关键字 in: query name: keyword type: string - description: 页码 in: query name: page type: integer - description: 每页大小 in: query name: pageSize type: integer - description: 供应商id in: query name: supplierId type: integer produces: - application/json responses: "200": description: 分页获取采购单列表,返回包括列表,总数,页码,每页数量 schema: allOf: - $ref: '#/definitions/response.Response' - properties: data: $ref: '#/definitions/response.PageResult' msg: type: string type: object security: - ApiKeyAuth: [] summary: 分页获取采购单列表 tags: - Purchase /purchase/purchaseType: post: consumes: - application/json parameters: - description: 采购类型list in: body name: data required: true schema: items: $ref: '#/definitions/purchaserequest.PurchaseType' type: array produces: - application/json responses: "200": description: 创建采购类型 schema: allOf: - $ref: '#/definitions/response.Response' - properties: msg: type: string type: object security: - ApiKeyAuth: [] summary: 创建采购类型 tags: - Purchase /purchase/purchaseTypeList: get: consumes: - application/json produces: - application/json responses: "200": description: 获取采购类型列表 schema: allOf: - $ref: '#/definitions/response.Response' - properties: data: items: $ref: '#/definitions/purchase.PurchaseType' type: array msg: type: string type: object security: - ApiKeyAuth: [] summary: 获取采购类型列表 tags: - Purchase /purchase/qualityInspectList: get: consumes: - application/json parameters: - description: 关键字 in: query name: keyword type: string - description: 页码 in: query name: page type: integer - description: 每页大小 in: query name: pageSize type: integer - description: 供应商id in: query name: supplierId type: integer produces: - application/json responses: "200": description: 分页获取质检单列表,返回包括列表,总数,页码,每页数量 schema: allOf: - $ref: '#/definitions/response.Response' - properties: data: $ref: '#/definitions/response.PageResult' msg: type: string type: object security: - ApiKeyAuth: [] summary: 分页获取质检单列表 tags: - QualityInspect /purchase/savePurchaseProductConfirm: post: consumes: - application/json parameters: - description: list in: body name: data required: true schema: items: $ref: '#/definitions/purchaserequest.PurchaseProductConfirmInfo' type: array produces: - application/json responses: "200": description: 确认收货 schema: allOf: - $ref: '#/definitions/response.Response' - properties: msg: type: string type: object security: - ApiKeyAuth: [] summary: 确认收货 tags: - Purchase /purchase/savePurchaseQualityInspectionInfo: post: consumes: - application/json parameters: - description: 参数 in: body name: data required: true schema: $ref: '#/definitions/purchaserequest.SaveQualityInspectionInfo' produces: - application/json responses: "200": description: 获取确认信息 schema: allOf: - $ref: '#/definitions/response.Response' - properties: data: items: $ref: '#/definitions/purchase.PurchaseProductConfirm' type: array type: object security: - ApiKeyAuth: [] summary: 保存采购质检信息信息 tags: - Purchase /purchase/submit: post: consumes: - application/json parameters: - description: 参数 in: body name: data required: true schema: $ref: '#/definitions/purchaserequest.SubmitPurchase' produces: - application/json responses: "200": description: 提交采购单 schema: allOf: - $ref: '#/definitions/response.Response' - properties: msg: type: string type: object security: - ApiKeyAuth: [] summary: 提交采购单 tags: - Purchase /s/changeSupplierStatus: post: consumes: - application/json parameters: - description: 修改Supplier状态 in: body name: data required: true schema: $ref: '#/definitions/request.SupplierStatus' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"修改成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 修改Supplier状态 tags: - Supplier /s/createSupplier: post: consumes: - application/json parameters: - description: 创建Supplier in: body name: data required: true schema: $ref: '#/definitions/test.Supplier' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"获取成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 创建Supplier tags: - Supplier /s/deleteSupplier: delete: consumes: - application/json parameters: - description: 删除Supplier in: body name: data required: true schema: $ref: '#/definitions/test.Supplier' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"删除成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 删除Supplier tags: - Supplier /s/deleteSupplierByIds: delete: consumes: - application/json parameters: - description: 批量删除Supplier in: body name: data required: true schema: $ref: '#/definitions/request.IdsReq' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"批量删除成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 批量删除Supplier tags: - Supplier /s/findSupplier: get: consumes: - application/json parameters: - in: query name: account type: string - in: query name: accountName type: string - in: query name: bank type: string - in: query name: contact type: string - in: query name: created_at type: string - in: query name: detailAddress type: string - in: query name: email type: string - in: query name: fileId type: integer - description: 主键ID example: "0" in: query name: id type: string - in: query name: industry type: string - in: query name: name type: string - in: query name: number type: string - in: query name: phone type: string - in: query name: responsiblePersonName type: string - in: query name: status type: integer - in: query name: supplierType type: string - in: query name: updated_at type: string - in: query name: url type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"查询成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 用id查询Supplier tags: - Supplier /s/getSupplierByNumber/{number}: get: consumes: - application/json parameters: - description: 供应商编码 in: path name: number required: true type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"查询成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 用编码查询Supplier tags: - Supplier /s/getSupplierList: get: consumes: - application/json parameters: - in: query name: account type: string - in: query name: accountName type: string - in: query name: bank type: string - in: query name: contact type: string - in: query name: created_at type: string - in: query name: detailAddress type: string - in: query name: email type: string - in: query name: endCreatedAt type: string - in: query name: fileId type: integer - description: 主键ID example: "0" in: query name: id type: string - in: query name: industry type: string - description: 关键字 in: query name: keyword type: string - in: query name: name type: string - in: query name: number type: string - description: 页码 in: query name: page type: integer - description: 每页大小 in: query name: pageSize type: integer - in: query name: phone type: string - in: query name: responsiblePersonName type: string - in: query name: startCreatedAt type: string - in: query name: status type: integer - in: query name: supplierType type: string - in: query name: updated_at type: string - in: query name: url type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"获取成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 分页获取Supplier列表 tags: - Supplier /s/updateSupplier: put: consumes: - application/json parameters: - description: 更新Supplier in: body name: data required: true schema: $ref: '#/definitions/test.Supplier' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"更新成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 更新Supplier tags: - Supplier /st/createSupplierType: post: consumes: - application/json parameters: - description: 创建SupplierType in: body name: data required: true schema: $ref: '#/definitions/test.SupplierType' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"获取成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 创建SupplierType tags: - SupplierType /st/deleteSupplierType: delete: consumes: - application/json parameters: - description: 删除SupplierType in: body name: data required: true schema: $ref: '#/definitions/test.SupplierType' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"删除成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 删除SupplierType tags: - SupplierType /st/deleteSupplierTypeByIds: delete: consumes: - application/json parameters: - description: 批量删除SupplierType in: body name: data required: true schema: $ref: '#/definitions/request.IdsReq' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"批量删除成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 批量删除SupplierType tags: - SupplierType /st/findSupplierType: get: consumes: - application/json parameters: - in: query name: created_at type: string - description: 主键ID in: query name: id type: integer - in: query name: name type: string - in: query name: updated_at type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"查询成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 用id查询SupplierType tags: - SupplierType /st/getSupplierTypeList: get: consumes: - application/json parameters: - in: query name: created_at type: string - in: query name: endCreatedAt type: string - description: 主键ID in: query name: id type: integer - description: 关键字 in: query name: keyword type: string - in: query name: name type: string - description: 页码 in: query name: page type: integer - description: 每页大小 in: query name: pageSize type: integer - in: query name: startCreatedAt type: string - in: query name: updated_at type: string produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"获取成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 分页获取SupplierType列表 tags: - SupplierType /st/updateSupplierType: put: consumes: - application/json parameters: - description: 更新SupplierType in: body name: data required: true schema: $ref: '#/definitions/request.SupplierTypeList' produces: - application/json responses: "200": description: '{"success":true,"data":{},"msg":"更新成功"}' schema: type: string security: - ApiKeyAuth: [] summary: 更新SupplierType tags: - SupplierType /system/getServerInfo: post: produces: - application/json responses: "200": description: 获取服务器信息 schema: allOf: - $ref: '#/definitions/response.Response' - properties: data: additionalProperties: true type: object msg: type: string type: object security: - ApiKeyAuth: [] summary: 获取服务器信息 tags: - System /system/getSystemConfig: post: produces: - application/json responses: "200": description: 获取配置文件内容,返回包括系统配置 schema: allOf: - $ref: '#/definitions/response.Response' - properties: data: $ref: '#/definitions/system.System' msg: type: string type: object security: - ApiKeyAuth: [] summary: 获取配置文件内容 tags: - System /system/reloadSystem: post: produces: - application/json responses: "200": description: 重启系统 schema: allOf: - $ref: '#/definitions/response.Response' - properties: msg: type: string type: object security: - ApiKeyAuth: [] summary: 重启系统 tags: - System /system/setSystemConfig: post: parameters: - description: 设置配置文件内容 in: body name: data required: true schema: $ref: '#/definitions/system.System' produces: - application/json responses: "200": description: 设置配置文件内容 schema: allOf: - $ref: '#/definitions/response.Response' - properties: data: type: string type: object security: - ApiKeyAuth: [] summary: 设置配置文件内容 tags: - System securityDefinitions: ApiKeyAuth: in: header name: x-token type: apiKey swagger: "2.0"