|
@@ -455,21 +455,21 @@ var doc = `{
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- "/chart/editChartInfo": {
|
|
|
|
- "post": {
|
|
|
|
|
|
+ "/chart/getChartChassify": {
|
|
|
|
+ "get": {
|
|
"security": [
|
|
"security": [
|
|
{
|
|
{
|
|
"ApiKeyAuth": []
|
|
"ApiKeyAuth": []
|
|
}
|
|
}
|
|
],
|
|
],
|
|
- "description": "编辑图表信息",
|
|
|
|
|
|
+ "description": "获取图表分类列表",
|
|
"consumes": [
|
|
"consumes": [
|
|
"application/json"
|
|
"application/json"
|
|
],
|
|
],
|
|
"tags": [
|
|
"tags": [
|
|
"图库模块"
|
|
"图库模块"
|
|
],
|
|
],
|
|
- "summary": "编辑图表信息",
|
|
|
|
|
|
+ "summary": "获取图表分类",
|
|
"parameters": [
|
|
"parameters": [
|
|
{
|
|
{
|
|
"type": "string",
|
|
"type": "string",
|
|
@@ -479,24 +479,21 @@ var doc = `{
|
|
"required": true
|
|
"required": true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- "description": "请求参数",
|
|
|
|
- "name": "data",
|
|
|
|
- "in": "body",
|
|
|
|
- "required": true,
|
|
|
|
- "schema": {
|
|
|
|
- "$ref": "#/definitions/chart_info.SaveChartInfoReq"
|
|
|
|
- }
|
|
|
|
|
|
+ "type": "string",
|
|
|
|
+ "description": "分类名称关键词",
|
|
|
|
+ "name": "Keywords",
|
|
|
|
+ "in": "query"
|
|
}
|
|
}
|
|
],
|
|
],
|
|
"responses": {
|
|
"responses": {
|
|
"200": {
|
|
"200": {
|
|
- "description": "操作成功",
|
|
|
|
|
|
+ "description": "OK",
|
|
"schema": {
|
|
"schema": {
|
|
- "type": "string"
|
|
|
|
|
|
+ "$ref": "#/definitions/my_chart.MyChartClassifyListResp"
|
|
}
|
|
}
|
|
},
|
|
},
|
|
"400": {
|
|
"400": {
|
|
- "description": "操作失败",
|
|
|
|
|
|
+ "description": "分类列表获取失败",
|
|
"schema": {
|
|
"schema": {
|
|
"type": "string"
|
|
"type": "string"
|
|
}
|
|
}
|
|
@@ -504,21 +501,21 @@ var doc = `{
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- "/chart/getChartChassify": {
|
|
|
|
|
|
+ "/chart/getChartList": {
|
|
"get": {
|
|
"get": {
|
|
"security": [
|
|
"security": [
|
|
{
|
|
{
|
|
"ApiKeyAuth": []
|
|
"ApiKeyAuth": []
|
|
}
|
|
}
|
|
],
|
|
],
|
|
- "description": "获取图表分类列表",
|
|
|
|
|
|
+ "description": "获取图表列表",
|
|
"consumes": [
|
|
"consumes": [
|
|
"application/json"
|
|
"application/json"
|
|
],
|
|
],
|
|
"tags": [
|
|
"tags": [
|
|
"图库模块"
|
|
"图库模块"
|
|
],
|
|
],
|
|
- "summary": "获取图表分类",
|
|
|
|
|
|
+ "summary": "获取图表列表",
|
|
"parameters": [
|
|
"parameters": [
|
|
{
|
|
{
|
|
"type": "string",
|
|
"type": "string",
|
|
@@ -529,20 +526,41 @@ var doc = `{
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"type": "string",
|
|
"type": "string",
|
|
- "description": "分类名称关键词",
|
|
|
|
|
|
+ "description": "图表名称关键词",
|
|
"name": "Keywords",
|
|
"name": "Keywords",
|
|
"in": "query"
|
|
"in": "query"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": "string",
|
|
|
|
+ "description": "图表分类ID",
|
|
|
|
+ "name": "ClassifyId",
|
|
|
|
+ "in": "query"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": "integer",
|
|
|
|
+ "description": "当前页页码,从1开始",
|
|
|
|
+ "name": "Page",
|
|
|
|
+ "in": "query"
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "type": "integer",
|
|
|
|
+ "description": "每页数据量",
|
|
|
|
+ "name": "Limit",
|
|
|
|
+ "in": "query"
|
|
}
|
|
}
|
|
],
|
|
],
|
|
"responses": {
|
|
"responses": {
|
|
"200": {
|
|
"200": {
|
|
"description": "OK",
|
|
"description": "OK",
|
|
"schema": {
|
|
"schema": {
|
|
- "$ref": "#/definitions/my_chart.MyChartClassifyListResp"
|
|
|
|
|
|
+ "type": "array",
|
|
|
|
+ "items": {
|
|
|
|
+ "$ref": "#/definitions/my_chart.MyChartList"
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
"400": {
|
|
"400": {
|
|
- "description": "分类列表获取失败",
|
|
|
|
|
|
+ "description": "图库列表获取失败",
|
|
"schema": {
|
|
"schema": {
|
|
"type": "string"
|
|
"type": "string"
|
|
}
|
|
}
|
|
@@ -550,21 +568,21 @@ var doc = `{
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- "/chart/getChartInfoDetail": {
|
|
|
|
- "get": {
|
|
|
|
|
|
+ "/my_chart/editChartInfo": {
|
|
|
|
+ "post": {
|
|
"security": [
|
|
"security": [
|
|
{
|
|
{
|
|
"ApiKeyAuth": []
|
|
"ApiKeyAuth": []
|
|
}
|
|
}
|
|
],
|
|
],
|
|
- "description": "获取图表详情",
|
|
|
|
|
|
+ "description": "编辑图表信息",
|
|
"consumes": [
|
|
"consumes": [
|
|
"application/json"
|
|
"application/json"
|
|
],
|
|
],
|
|
"tags": [
|
|
"tags": [
|
|
"图库模块"
|
|
"图库模块"
|
|
],
|
|
],
|
|
- "summary": "获取图表详情",
|
|
|
|
|
|
+ "summary": "编辑图表信息",
|
|
"parameters": [
|
|
"parameters": [
|
|
{
|
|
{
|
|
"type": "string",
|
|
"type": "string",
|
|
@@ -574,27 +592,24 @@ var doc = `{
|
|
"required": true
|
|
"required": true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- "type": "string",
|
|
|
|
- "description": "时间段:1-00年至今; 2-10年至今; 3-15年至今; 4-21年至今; 5-指定区间; 6-指定年月至今; 7-18年至今; 8-19年至今; 9-20年至今",
|
|
|
|
- "name": "DateType",
|
|
|
|
- "in": "query"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "type": "string",
|
|
|
|
- "description": "图表分类ID",
|
|
|
|
- "name": "ClassifyId",
|
|
|
|
- "in": "query"
|
|
|
|
|
|
+ "description": "请求参数",
|
|
|
|
+ "name": "data",
|
|
|
|
+ "in": "body",
|
|
|
|
+ "required": true,
|
|
|
|
+ "schema": {
|
|
|
|
+ "$ref": "#/definitions/chart_info.SaveChartInfoReq"
|
|
|
|
+ }
|
|
}
|
|
}
|
|
],
|
|
],
|
|
"responses": {
|
|
"responses": {
|
|
"200": {
|
|
"200": {
|
|
- "description": "OK",
|
|
|
|
|
|
+ "description": "操作成功",
|
|
"schema": {
|
|
"schema": {
|
|
- "$ref": "#/definitions/chart_info.ChartInfoDetailResp"
|
|
|
|
|
|
+ "type": "string"
|
|
}
|
|
}
|
|
},
|
|
},
|
|
"400": {
|
|
"400": {
|
|
- "description": "图表详情获取失败",
|
|
|
|
|
|
+ "description": "操作失败",
|
|
"schema": {
|
|
"schema": {
|
|
"type": "string"
|
|
"type": "string"
|
|
}
|
|
}
|
|
@@ -602,21 +617,21 @@ var doc = `{
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- "/chart/getChartList": {
|
|
|
|
|
|
+ "/my_chart/getChartInfoDetail": {
|
|
"get": {
|
|
"get": {
|
|
"security": [
|
|
"security": [
|
|
{
|
|
{
|
|
"ApiKeyAuth": []
|
|
"ApiKeyAuth": []
|
|
}
|
|
}
|
|
],
|
|
],
|
|
- "description": "获取图表分类列表",
|
|
|
|
|
|
+ "description": "获取图表详情",
|
|
"consumes": [
|
|
"consumes": [
|
|
"application/json"
|
|
"application/json"
|
|
],
|
|
],
|
|
"tags": [
|
|
"tags": [
|
|
"图库模块"
|
|
"图库模块"
|
|
],
|
|
],
|
|
- "summary": "获取图表分类",
|
|
|
|
|
|
+ "summary": "获取图表详情",
|
|
"parameters": [
|
|
"parameters": [
|
|
{
|
|
{
|
|
"type": "string",
|
|
"type": "string",
|
|
@@ -627,8 +642,8 @@ var doc = `{
|
|
},
|
|
},
|
|
{
|
|
{
|
|
"type": "string",
|
|
"type": "string",
|
|
- "description": "图表名称关键词",
|
|
|
|
- "name": "Keywords",
|
|
|
|
|
|
+ "description": "时间段:1-00年至今; 2-10年至今; 3-15年至今; 4-21年至今; 5-指定区间; 6-指定年月至今; 7-18年至今; 8-19年至今; 9-20年至今",
|
|
|
|
+ "name": "DateType",
|
|
"in": "query"
|
|
"in": "query"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -636,32 +651,17 @@ var doc = `{
|
|
"description": "图表分类ID",
|
|
"description": "图表分类ID",
|
|
"name": "ClassifyId",
|
|
"name": "ClassifyId",
|
|
"in": "query"
|
|
"in": "query"
|
|
- },
|
|
|
|
- {
|
|
|
|
- "type": "integer",
|
|
|
|
- "description": "当前页页码,从1开始",
|
|
|
|
- "name": "Page",
|
|
|
|
- "in": "query"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "type": "integer",
|
|
|
|
- "description": "每页数据量",
|
|
|
|
- "name": "Limit",
|
|
|
|
- "in": "query"
|
|
|
|
}
|
|
}
|
|
],
|
|
],
|
|
"responses": {
|
|
"responses": {
|
|
"200": {
|
|
"200": {
|
|
"description": "OK",
|
|
"description": "OK",
|
|
"schema": {
|
|
"schema": {
|
|
- "type": "array",
|
|
|
|
- "items": {
|
|
|
|
- "$ref": "#/definitions/my_chart.MyChartList"
|
|
|
|
- }
|
|
|
|
|
|
+ "$ref": "#/definitions/chart_info.ChartInfoDetailResp"
|
|
}
|
|
}
|
|
},
|
|
},
|
|
"400": {
|
|
"400": {
|
|
- "description": "图库列表获取失败",
|
|
|
|
|
|
+ "description": "图表详情获取失败",
|
|
"schema": {
|
|
"schema": {
|
|
"type": "string"
|
|
"type": "string"
|
|
}
|
|
}
|
|
@@ -1372,20 +1372,6 @@ var doc = `{
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- "chart_classify.ChartClassifyView": {
|
|
|
|
- "type": "object",
|
|
|
|
- "properties": {
|
|
|
|
- "chartClassifyId": {
|
|
|
|
- "type": "integer"
|
|
|
|
- },
|
|
|
|
- "chartClassifyName": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "parentId": {
|
|
|
|
- "type": "integer"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
"chart_edb_mapping.ChartEdbInfoMapping": {
|
|
"chart_edb_mapping.ChartEdbInfoMapping": {
|
|
"type": "object",
|
|
"type": "object",
|
|
"properties": {
|
|
"properties": {
|
|
@@ -1490,12 +1476,6 @@ var doc = `{
|
|
"calendar": {
|
|
"calendar": {
|
|
"type": "string"
|
|
"type": "string"
|
|
},
|
|
},
|
|
- "chartClassify": {
|
|
|
|
- "type": "array",
|
|
|
|
- "items": {
|
|
|
|
- "$ref": "#/definitions/chart_classify.ChartClassifyView"
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
"chartClassifyId": {
|
|
"chartClassifyId": {
|
|
"type": "integer"
|
|
"type": "integer"
|
|
},
|
|
},
|