v2
This commit is contained in:
15
internal/erpserver/model/req/user.go
Normal file
15
internal/erpserver/model/req/user.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package req
|
||||
|
||||
type Login struct {
|
||||
Email string `json:"email"`
|
||||
Password string `json:"password"`
|
||||
Captcha string `json:"captcha"`
|
||||
CaptchaID string `json:"captcha_id"`
|
||||
|
||||
// 平台信息
|
||||
Os string `json:"os"`
|
||||
Ip string `json:"ip"`
|
||||
Browser string `json:"browser"`
|
||||
Referrer string `json:"referrer"`
|
||||
Url string `json:"url"`
|
||||
}
|
||||
14
internal/erpserver/model/view/system.go
Normal file
14
internal/erpserver/model/view/system.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package view
|
||||
|
||||
type LayuiTree struct {
|
||||
ID string `json:"id"`
|
||||
Title string `json:"title"`
|
||||
Spread bool `json:"spread"`
|
||||
Children []*LayuiTree `json:"children"`
|
||||
}
|
||||
|
||||
type XmSelectTree struct {
|
||||
Name string `json:"name"`
|
||||
Value string `json:"value"`
|
||||
Children []*XmSelectTree `json:"children"`
|
||||
}
|
||||
Reference in New Issue
Block a user