| | |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/v1/task/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Base" |
| | | ], |
| | | "summary": "任务开启通知", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.LoginResponse" |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ScheduleTask" |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | }, |
| | | "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": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "model.User": { |
| | | "model.ScheduleTask": { |
| | | "type": "object", |
| | | "properties": { |
| | | "companyCity": { |
| | | "amount": { |
| | | "description": "Parameter string ` + "`" + `json:\"parameter\"` + "`" + ` //产品名称\nCustomer string ` + "`" + `json:\"customer\"` + "`" + `\nDeliverDate string ` + "`" + `json:\"deliverDate\"` + "`" + `\nOrderAttr string ` + "`" + `json:\"orderAttr\"` + "`" + `", |
| | | "type": "number" |
| | | }, |
| | | "data": { |
| | | "description": "排程任务json串", |
| | | "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": { |
| | | "endTime": { |
| | | "type": "integer" |
| | | }, |
| | | "systemName": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "orderId": { |
| | | "description": "订单id", |
| | | "type": "string" |
| | | }, |
| | | "updateAt": { |
| | | "description": "更新时间", |
| | | "productId": { |
| | | "description": "订单id", |
| | | "type": "string" |
| | | }, |
| | | "userType": { |
| | | "$ref": "#/definitions/constvar.UserType" |
| | | "productName": { |
| | | "description": "产品名称", |
| | | "type": "string" |
| | | }, |
| | | "username": { |
| | | "startTime": { |
| | | "type": "integer" |
| | | }, |
| | | "unit": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "workOrder": { |
| | | "description": "工单", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "response.LoginResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "expiresAt": { |
| | | "type": "integer" |
| | | }, |
| | | "token": { |
| | | "type": "string" |
| | | }, |
| | | "user": { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | } |
| | | } |