| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/system/useSystemSet/{modeType}": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "系统设置" |
| | | ], |
| | | "summary": "使用系统设置", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "查询参数", |
| | | "name": "modeType", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/response.ListResponse" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/timeSpent/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "modeType": { |
| | | "type": "string" |
| | | }, |
| | | "systemType": { |
| | | "name": { |
| | | "type": "string" |
| | | }, |
| | | "value": { |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.SystemSet" |
| | | } |
| | | }, |
| | | "systemTypes": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | } |