mirror of
https://github.com/usememos/memos.git
synced 2024-12-19 09:02:49 +03:00
f1cca0f298
* feat: add user role field * chore: fix typo * feat: update signup api
14 lines
255 B
Go
14 lines
255 B
Go
package api
|
|
|
|
type Login struct {
|
|
Email string `json:"email"`
|
|
Password string `json:"password"`
|
|
}
|
|
|
|
type Signup struct {
|
|
Email string `json:"email"`
|
|
Role Role `json:"role"`
|
|
Name string `json:"name"`
|
|
Password string `json:"password"`
|
|
}
|