From 4dca9a12a82df10c979d06e52bc644dc89c75d33 Mon Sep 17 00:00:00 2001 From: Yansong Zhang <916125788@qq.com> Date: Mon, 22 Sep 2025 16:14:28 +0800 Subject: [PATCH] fix: add marshal app model to json --- api/controllers/console/explore/trial.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/controllers/console/explore/trial.py b/api/controllers/console/explore/trial.py index 4f27155cd2..666dc52bad 100644 --- a/api/controllers/console/explore/trial.py +++ b/api/controllers/console/explore/trial.py @@ -6,7 +6,7 @@ from werkzeug.exceptions import Forbidden, InternalServerError, NotFound import services from controllers.common import fields -from controllers.common.fields import build_site_model +from controllers.common.fields import build_app_detail_fields_with_site, build_site_model from controllers.console.app.error import ( AppUnavailableError, AudioTooLargeError, @@ -343,6 +343,7 @@ class TrialAppParameterApi(Resource): class AppApi(Resource): @trial_feature_enable @get_app_model + @service_api_ns.marshal_with(build_app_detail_fields_with_site(service_api_ns)) def get(self, app_model): """Get app detail"""