Skip to content

Commit d83264f

Browse files
committed
fix: ApplicationVersion move chat
1 parent 071c186 commit d83264f

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

third/third.go

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -59,23 +59,3 @@ func (x *CompleteFormDataReq) Check() error {
5959
}
6060
return nil
6161
}
62-
63-
func (x *LatestApplicationVersionReq) Check() error {
64-
if x.Platform == "" {
65-
return errors.New("platform is empty")
66-
}
67-
return nil
68-
}
69-
70-
func (x *PageApplicationVersionReq) Check() error {
71-
if x.Pagination == nil {
72-
return errors.New("pagination is empty")
73-
}
74-
if x.Pagination.PageNumber < 1 {
75-
return errors.New("pageNumber is invalid")
76-
}
77-
if x.Pagination.ShowNumber < 1 {
78-
return errors.New("showNumber is invalid")
79-
}
80-
return nil
81-
}

0 commit comments

Comments
 (0)