🚧 Pagination function

This commit is contained in:
微凉
2022-01-03 23:30:57 +08:00
parent 67bf14d428
commit 68aaa8fee2
2 changed files with 35 additions and 3 deletions

View File

@ -19,6 +19,8 @@ type Resp struct {
type PathReq struct {
Path string `json:"path"`
Password string `json:"password"`
PageNum int `json:"page_num"`
PageSize int `json:"page_size"`
}
func ParsePath(rawPath string) (*model.Account, string, base.Driver, error) {