update fieldRule
This commit is contained in:
parent
edeece4bfb
commit
e34ea9c230
13
model/amo.go
13
model/amo.go
@ -151,10 +151,10 @@ type Rule struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Fieldsrule struct {
|
type Fieldsrule struct {
|
||||||
Lead []FieldRule `json:"Lead"`
|
Lead []FieldRule `json:"Lead"`
|
||||||
Contact []FieldRule `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 {
|
||||||
@ -162,6 +162,11 @@ type FieldRule struct {
|
|||||||
Questionid map[int]int `json:"QuestionID"` // ключ id вопроса значение id астомного поля
|
Questionid map[int]int `json:"QuestionID"` // ключ id вопроса значение id астомного поля
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ContactRules struct {
|
||||||
|
// ключ имя, значение id кастомного поля
|
||||||
|
ContactRuleMap map[string]int
|
||||||
|
}
|
||||||
|
|
||||||
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