去掉推荐时段00:00
Signed-off-by: yinzijian <yinzijian@haomozhixing.onaliyun.com>
This commit is contained in:
parent
8529b99df3
commit
2903d39b0a
|
|
@ -135,7 +135,7 @@ def cross_flow_tp_divide(params):
|
|||
res['data']['flow_data'].append({
|
||||
"flow": round(flow_list[i], 2),
|
||||
"tp": time_str,
|
||||
"recommend": recommend_tp.get(time_str, 0)
|
||||
"recommend": 1 if recommend_tp.get(time_str) and time_str != '00:00' else 0
|
||||
})
|
||||
current_time += timedelta(minutes=15)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue