update amo repo method
This commit is contained in:
parent
283cc69264
commit
0a8ce824fe
@ -215,5 +215,5 @@ type CheckUserUtm struct {
|
|||||||
Quizid int32 `json:"QuizID"`
|
Quizid int32 `json:"QuizID"`
|
||||||
Accountid int32 `json:"AccountID"`
|
Accountid int32 `json:"AccountID"`
|
||||||
Name string `json:"Name"`
|
Name string `json:"Name"`
|
||||||
Status bool
|
AmoFieldName string
|
||||||
}
|
}
|
||||||
|
|||||||
@ -767,7 +767,7 @@ func (r *AmoRepository) CheckUserUtms(ctx context.Context, ids []int32) ([]model
|
|||||||
Quizid: row.Quizid,
|
Quizid: row.Quizid,
|
||||||
Accountid: row.Accountid,
|
Accountid: row.Accountid,
|
||||||
Name: row.Name,
|
Name: row.Name,
|
||||||
Status: row.Status,
|
AmoFieldName: row.Name_2.String,
|
||||||
}
|
}
|
||||||
|
|
||||||
utmS = append(utmS, utm)
|
utmS = append(utmS, utm)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user