add contact quiz config struct
This commit is contained in:
parent
8f231d8033
commit
7b58bc46fa
20
model/amo.go
20
model/amo.go
@ -167,6 +167,26 @@ type ContactRules struct {
|
|||||||
ContactRuleMap map[string]int
|
ContactRuleMap map[string]int
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type QuizContact struct {
|
||||||
|
FormContact struct {
|
||||||
|
Fields struct {
|
||||||
|
Name ContactField `json:"name"`
|
||||||
|
Email ContactField `json:"email"`
|
||||||
|
Phone ContactField `json:"phone"`
|
||||||
|
Text ContactField `json:"text"`
|
||||||
|
Address ContactField `json:"address"`
|
||||||
|
} `json:"fields"`
|
||||||
|
} `json:"formContact"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type ContactField struct {
|
||||||
|
Text string `json:"text"`
|
||||||
|
InnerText string `json:"innerText"`
|
||||||
|
Key string `json:"key"`
|
||||||
|
Required bool `json:"required"`
|
||||||
|
Used bool `json:"used"`
|
||||||
|
}
|
||||||
|
|
||||||
type UTM struct {
|
type UTM struct {
|
||||||
/* - айдишник в нашей системе Primary Key*/
|
/* - айдишник в нашей системе Primary Key*/
|
||||||
ID int64 `json:"ID"`
|
ID int64 `json:"ID"`
|
||||||
|
Loading…
Reference in New Issue
Block a user