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 {
|
||||
Lead []FieldRule `json:"Lead"`
|
||||
Contact []FieldRule `json:"Contact"`
|
||||
Company []FieldRule `json:"Company"`
|
||||
Customer []FieldRule `json:"Customer"`
|
||||
Lead []FieldRule `json:"Lead"`
|
||||
Contact []ContactRules `json:"Contact"`
|
||||
Company []FieldRule `json:"Company"`
|
||||
Customer []FieldRule `json:"Customer"`
|
||||
}
|
||||
|
||||
type FieldRule struct {
|
||||
@ -162,6 +162,11 @@ type FieldRule struct {
|
||||
Questionid map[int]int `json:"QuestionID"` // ключ id вопроса значение id астомного поля
|
||||
}
|
||||
|
||||
type ContactRules struct {
|
||||
// ключ имя, значение id кастомного поля
|
||||
ContactRuleMap map[string]int
|
||||
}
|
||||
|
||||
type UTM struct {
|
||||
/* - айдишник в нашей системе Primary Key*/
|
||||
ID int64 `json:"ID"`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user