|
@@ -16,7 +16,7 @@ my_blueprint = Blueprint('kimi', __name__)
|
|
|
|
|
|
|
|
|
@my_blueprint.route('/healthcheck')
|
|
|
-async def hello():
|
|
|
+def hello():
|
|
|
"""
|
|
|
Hello World Test
|
|
|
:return:
|
|
@@ -26,7 +26,7 @@ async def hello():
|
|
|
info="请求接口成功",
|
|
|
port="healthcheck"
|
|
|
)
|
|
|
- await asyncio.sleep(30)
|
|
|
+ time.sleep(30)
|
|
|
return jsonify({'message': 'Hello, World!'})
|
|
|
|
|
|
|