optimised code

This commit is contained in:
zhuyasen
2023-12-14 19:50:41 +08:00
parent 1d81ccb27c
commit 3857f46bd1
36 changed files with 202 additions and 125 deletions

View File

@@ -301,7 +301,7 @@ message ListUserExampleByIDsReply {
message ListUserExampleByLastIDRequest {
uint64 lastID = 1 [(tagger.tags) = "form:\"lastID\""]; // last id
uint32 limit = 2 [(tagger.tags) = "form:\"limit\""]; // page size
uint32 limit = 2 [(validate.rules).uint32.gt = 0, (tagger.tags) = "form:\"limit\""]; // page size
string sort = 3 [(tagger.tags) = "form:\"sort\""]; // sort by column name of table, default is -id, the - sign indicates descending order.
}