tfse-app-api-v0.2/company/company_obj.py

29 lines
695 B
Python

from company.company_impl import get_head_info_impl, get_industry_analysis_impl, get_esg_rating_impl, get_cc_rating_impl, \
get_basic_info_impl
class CompanyIndex:
"""
企业主页
"""
def __init__(self):
self.cid = None
self.tab = None
self.industry = None
def get_head_info(self):
return get_head_info_impl(self.cid)
def get_basic_info(self):
return get_basic_info_impl(self.cid)
def get_industry_analysis(self):
return get_industry_analysis_impl(self.cid)
def get_cc_rating(self):
return get_cc_rating_impl(self.cid)
def get_esg_rating(self):
return get_esg_rating_impl(self.cid)