|
@@ -13,19 +13,22 @@ import (
|
|
|
)
|
|
|
|
|
|
type ProjectAccount struct {
|
|
|
- Id string `form:"id" json:"id"`
|
|
|
- ProjectId string `form:"projectId" json:"projectId"`
|
|
|
- Account string `form:"account" json:"account"`
|
|
|
- Password string `form:"password" json:"password"`
|
|
|
- Name string `form:"name" json:"name"`
|
|
|
- Company string `form:"company" json:"company"`
|
|
|
- Position string `form:"position" json:"position"`
|
|
|
- Role string `form:"role" json:"role"`
|
|
|
- Mobile string `form:"mobile" json:"mobile"`
|
|
|
- Telephone string `form:"telephone" json:"telephone"`
|
|
|
- IsAdmin int `form:"isAdmin" json:"isAdmin"`
|
|
|
- AccountGroup int `form:"accountGroup" json:"accountGroup"`
|
|
|
- Enable int `form:"enable" json:"enable"`
|
|
|
+ Id string `form:"id" json:"id"`
|
|
|
+ ProjectId string `form:"projectId" json:"projectId"`
|
|
|
+ Account string `form:"account" json:"account"`
|
|
|
+ Password string `form:"password" json:"password"`
|
|
|
+ Name string `form:"name" json:"name"`
|
|
|
+ Company string `form:"company" json:"company"`
|
|
|
+ Position string `form:"position" json:"position"`
|
|
|
+ Role string `form:"role" json:"role"`
|
|
|
+ Mobile string `form:"mobile" json:"mobile"`
|
|
|
+ Telephone string `form:"telephone" json:"telephone"`
|
|
|
+ IsAdmin int `form:"isAdmin" json:"isAdmin"`
|
|
|
+ AccountGroup int `form:"accountGroup" json:"accountGroup"`
|
|
|
+ Enable int `form:"enable" json:"enable"`
|
|
|
+ ContractPermission string `form:"contractPermission" json:"contractPermission"`
|
|
|
+ QualityPermission string `form:"qualityPermission" json:"qualityPermission"`
|
|
|
+ SafePermission string `form:"safePermission" json:"safePermission"`
|
|
|
}
|
|
|
|
|
|
type AccountPassword struct {
|