File tree 1 file changed +3
-0
lines changed
server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/application
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1
1
package org .lowcoder .api .application ;
2
2
3
3
import com .fasterxml .jackson .annotation .JsonProperty ;
4
+ import com .fasterxml .jackson .annotation .JsonView ;
4
5
import io .swagger .v3 .oas .annotations .Operation ;
5
6
import jakarta .annotation .Nullable ;
6
7
import org .apache .commons .lang3 .BooleanUtils ;
12
13
import org .lowcoder .domain .application .model .ApplicationStatus ;
13
14
import org .lowcoder .infra .constant .NewUrl ;
14
15
import org .lowcoder .infra .constant .Url ;
16
+ import org .lowcoder .sdk .config .JsonViews ;
15
17
import org .springframework .web .bind .annotation .*;
16
18
import reactor .core .publisher .Mono ;
17
19
@@ -156,6 +158,7 @@ public Mono<ResponseView<Boolean>> updateEditState(@PathVariable String applicat
156
158
description = "Retrieve the first displayed Lowcoder Application for an authenticated or impersonated user."
157
159
)
158
160
@ GetMapping ("/home" )
161
+ @ JsonView (JsonViews .Public .class )
159
162
public Mono <ResponseView <UserHomepageView >> getUserHomePage (@ RequestParam (required = false , defaultValue = "0" ) int applicationType );
160
163
161
164
@ Operation (
You can’t perform that action at this time.
0 commit comments