@@ -38,7 +38,7 @@ def refresh_task(task_id):
|
||||
class CalculateQuery(BaseModel):
|
||||
year: int = Field(title='年份')
|
||||
month: int = Field(title='月份')
|
||||
only_avg: int = Field(title='是否只计算均值')
|
||||
only_avg: int = Field(title='是否只计算均值', default=0)
|
||||
|
||||
|
||||
@data.route('/calculate', methods=['GET'])
|
||||
|
Reference in New Issue
Block a user