fix(123): incorrect order_by (close #2285)

pull/2338/head
Noah Hsu 2022-11-10 21:47:13 +08:00
parent 0352a8e028
commit 1743110a70
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import (
type Addition struct {
Username string `json:"username" required:"true"`
Password string `json:"password" required:"true"`
OrderBy string `json:"order_by" type:"select" options:"name,fileId,updateAt,createAt" default:"name"`
OrderBy string `json:"order_by" type:"select" options:"file_name,size,update_at" default:"file_name"`
OrderDirection string `json:"order_direction" type:"select" options:"asc,desc" default:"asc"`
driver.RootID
// define other