tfse-admin-api-v0.2/Board/board_obj.py

25 lines
590 B
Python
Raw Normal View History

2022-03-28 16:27:37 +08:00
from Board.board_impl import get_monitor_data_impl, get_rating_static_impl, get_industry_distribute_impl, \
get_new_companies_impl
2022-02-16 17:03:12 +08:00
class DashBoard:
2022-03-28 15:00:12 +08:00
def __init__(self):
pass
2022-02-18 14:23:50 +08:00
@staticmethod
2022-03-25 17:08:30 +08:00
def get_monitor_data():
return get_monitor_data_impl()
@staticmethod
def get_rating_static():
return get_rating_static_impl()
2022-02-16 17:03:12 +08:00
2022-02-18 14:23:50 +08:00
@staticmethod
2022-03-28 15:59:49 +08:00
def get_industry_distribute():
return get_industry_distribute_impl()
2022-03-28 16:27:37 +08:00
@staticmethod
def get_new_companies(page_size, page_no):
2022-03-29 16:01:29 +08:00
return get_new_companies_impl(page_size, page_no)