File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/application Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 11package org .lowcoder .api .application ;
22
33import com .fasterxml .jackson .annotation .JsonProperty ;
4+ import com .fasterxml .jackson .annotation .JsonView ;
45import io .swagger .v3 .oas .annotations .Operation ;
56import jakarta .annotation .Nullable ;
67import org .apache .commons .lang3 .BooleanUtils ;
1213import org .lowcoder .domain .application .model .ApplicationStatus ;
1314import org .lowcoder .infra .constant .NewUrl ;
1415import org .lowcoder .infra .constant .Url ;
16+ import org .lowcoder .sdk .config .JsonViews ;
1517import org .springframework .web .bind .annotation .*;
1618import reactor .core .publisher .Mono ;
1719
@@ -156,6 +158,7 @@ public Mono<ResponseView<Boolean>> updateEditState(@PathVariable String applicat
156158 description = "Retrieve the first displayed Lowcoder Application for an authenticated or impersonated user."
157159 )
158160 @ GetMapping ("/home" )
161+ @ JsonView (JsonViews .Public .class )
159162 public Mono <ResponseView <UserHomepageView >> getUserHomePage (@ RequestParam (required = false , defaultValue = "0" ) int applicationType );
160163
161164 @ Operation (
You can’t perform that action at this time.
0 commit comments