change field rule type
This commit is contained in:
parent
fe41395231
commit
da12f58920
@ -160,10 +160,10 @@ type TagsToAdd struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Fieldsrule struct {
|
type Fieldsrule struct {
|
||||||
Lead []FieldRule `json:"Lead"`
|
Lead FieldRule `json:"Lead"`
|
||||||
Contact ContactRules `json:"Contact"`
|
Contact ContactRules `json:"Contact"`
|
||||||
Company []FieldRule `json:"Company"`
|
Company FieldRule `json:"Company"`
|
||||||
Customer []FieldRule `json:"Customer"`
|
Customer FieldRule `json:"Customer"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type FieldRule struct {
|
type FieldRule struct {
|
||||||
@ -174,6 +174,7 @@ type FieldRule struct {
|
|||||||
type ContactRules struct {
|
type ContactRules struct {
|
||||||
// ключ имя, значение id кастомного поля
|
// ключ имя, значение id кастомного поля
|
||||||
ContactRuleMap map[string]int
|
ContactRuleMap map[string]int
|
||||||
|
Questionid map[int]int `json:"QuestionID"` // ключ id вопроса значение id астомного поля
|
||||||
}
|
}
|
||||||
|
|
||||||
type QuizContact struct {
|
type QuizContact struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user