修复空文件生成的BUG

This commit is contained in:
pengtao 2019-08-14 11:21:29 +08:00
parent 7c51acce00
commit 217662584b
2 changed files with 6 additions and 66 deletions

View File

@ -1,7 +1,7 @@
数据展示接口
#### 1、返回可用的数据方法按gameid排查
#### 1、返回可用的数据方法按gameid排查及返回方法的字段定义
##### 接口地址
@ -30,72 +30,10 @@ http://154.8.214.202:5015/interface/company?status=0
| gamename | string | 是 | 游戏中文名 |
| methods | String | 是 | 方法名 |
| methods_name | String | 是 | 方法显示名 |
| result | json | 是 | 方法明细字段名称及显示名 |
##### 返回示例
{
"code": 200,
"message": [
{
"appid": "BKadJbmZ",
"appkey": "undefined",
"contact": "pt",
"id": "1001",
"name": "kings",
"status": 0,
"tel": "1234",
"user": "None"
}
]
}
#### 2、返回方法的字段定义
##### 接口地址
http://154.8.214.202:5015/interface/company
##### 返回格式json
##### 请求方式get
##### 请求示范
http://154.8.214.202:5015/interface/company?status=0
##### 请求参数说明
| 名称 | 类型 | 必填 | 说明 |
| ------- | ------ | ---- | ------------------ |
| gameid | string | 是 | 查询的游戏ID |
| methods | string | 是 | 默认为6001微信 |
##### 返回参数说明
| 名称 | 类型 | 必填 | 说明 |
| ------------ | ------ | ---- | ---------- |
| gamename | string | 是 | 游戏中文名 |
| methods | String | 是 | 方法名 |
| methods_name | String | 是 | 方法显示名 |
##### 返回示例
{
"code": 200,
"message": [
{
"appid": "BKadJbmZ",
"appkey": "undefined",
"contact": "pt",
"id": "1001",
"name": "kings",
"status": 0,
"tel": "1234",
"user": "None"
}
]
}
#### 3、按方法和日期返回某天的数据
#### 2、按方法和日期返回某天的数据
##### 接口地址
@ -146,7 +84,7 @@ http://154.8.214.202:5015/interface/company?status=0
]
}
#### 4、按方法和日期返回某段时间的数据
#### 3、按方法和日期返回某段时间的数据
##### 接口地址

View File

@ -36,6 +36,8 @@ base及retain实现存储在mysql中脚本集中在ops_job处本次不做
2、以时间戳为主键的数据间隔5/1分钟
数据产生流程为每间隔一个时间执行统计脚本数据写入influxdbtag有gameidchannelidserveriddate通过接口返回数据给前端进行绘图展示。