示例#1
0
文件: app.py 项目: zerxis/qpanel
def stats_json(name, from_date, to_date):
    real_name = uqpanel.realname_queue_rename(name)
    queue_values = queuelog_data_queue(from_date, to_date, None, real_name)
    data = get_data_queues(name)
    return jsonify(name=name, data=data, values=queue_values)
示例#2
0
文件: app.py 项目: pathcl/qpanel
def stats_json(name, from_date, to_date):
    real_name = uqpanel.realname_queue_rename(name)
    queue_values = queuelog_data_queue(from_date, to_date, None, real_name)
    data = get_data_queues(name)
    return jsonify(name=name, data=data, values=queue_values)