// Code generated by swaggo/swag. DO NOT EDIT. package docs import "github.com/swaggo/swag" const docTemplate = `{ "schemes": {{ marshal .Schemes }}, "swagger": "2.0", "info": { "description": "{{escape .Description}}", "title": "{{.Title}}", "contact": {}, "version": "{{.Version}}" }, "host": "{{.Host}}", "basePath": "{{.BasePath}}", "paths": { "/v1/notice/task/start": { "post": { "produces": [ "application/json" ], "tags": [ "Base" ], "summary": "任务开启通知", "parameters": [ { "description": "查询参数", "name": "object", "in": "body", "required": true, "schema": { "$ref": "#/definitions/request.TaskInfo" } } ], "responses": { "200": { "description": "成功", "schema": { "allOf": [ { "$ref": "#/definitions/contextx.Response" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/response.LoginResponse" } } } ] } } } } } }, "definitions": { "constvar.UserType": { "type": "integer", "enum": [ 1, 2, 3 ], "x-enum-comments": { "UserTypePrimary": "主账户", "UserTypeSub": "子账户", "UserTypeSuper": "超级管理员" }, "x-enum-varnames": [ "UserTypeSuper", "UserTypePrimary", "UserTypeSub" ] }, "contextx.Response": { "type": "object", "properties": { "code": { "type": "integer" }, "data": {}, "msg": { "type": "string" } } }, "model.User": { "type": "object", "properties": { "companyCity": { "type": "string" }, "companyContact": { "type": "string" }, "companyEmail": { "type": "string" }, "companyLogo": { "type": "string" }, "companyName": { "type": "string" }, "companyProvince": { "type": "string" }, "companyTrade": { "type": "string" }, "createAt": { "description": "创建时间", "type": "string" }, "enable": { "type": "boolean" }, "headerImage": { "type": "string" }, "id": { "type": "string" }, "ip": { "type": "string" }, "menuIds": { "description": "菜单ID列表", "type": "array", "items": { "type": "integer" } }, "nickName": { "type": "string" }, "parentId": { "type": "string" }, "parentName": { "type": "string" }, "phone": { "type": "string" }, "port": { "type": "string" }, "pos": { "type": "string" }, "status": { "type": "integer" }, "systemName": { "type": "string" }, "updateAt": { "description": "更新时间", "type": "string" }, "userType": { "$ref": "#/definitions/constvar.UserType" }, "username": { "type": "string" } } }, "request.TaskInfo": { "type": "object", "properties": { "device": { "description": "设备", "type": "string" }, "orderId": { "description": "订单号", "type": "string" }, "password": { "description": "产品", "type": "string" }, "procedure": { "description": "工序", "type": "string" }, "workOrder": { "description": "工单", "type": "string" } } }, "response.LoginResponse": { "type": "object", "properties": { "expiresAt": { "type": "integer" }, "token": { "type": "string" }, "user": { "$ref": "#/definitions/model.User" } } } } }` // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "", Host: "", BasePath: "", Schemes: []string{}, Title: "", Description: "", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, LeftDelim: "{{", RightDelim: "}}", } func init() { swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) }