diff --git a/api/api_v1/endpoints/query.py b/api/api_v1/endpoints/query.py index b7133c3..476f18f 100644 --- a/api/api_v1/endpoints/query.py +++ b/api/api_v1/endpoints/query.py @@ -1134,7 +1134,7 @@ async def scatter_model( label = str(key2) n = len(tmp_df2) labels_dict[label] = n - if event_type == 'pay': + if event_type == 'pay111':#还原成以前的计算规则,如需改成累加的把pay111改成pay #如需要2之后所有之和,则执行下面代码,返回值为字典的labels_dict01 labels_dict01={} v=-1