update doc
This commit is contained in:
@@ -10,7 +10,7 @@ api = APIBlueprint('api', __name__)
|
||||
|
||||
@api.get('/hello')
|
||||
def hello():
|
||||
result_one = f'我是您的专属接口提供服务器: {platform.node()}'
|
||||
result_one = f'我是您的专属接口提供服务器: {os.environ["HOSTNAME"]}'
|
||||
result_two = f'我的机器参数如下'
|
||||
result_three = f'操作系统:{platform.system()},CPU 核数:{psutil.cpu_count()},目前 CPU 占用率: {psutil.cpu_percent()}'
|
||||
text = """
|
||||
|
Reference in New Issue
Block a user