|
@@ -249,6 +249,10 @@ func GetYiDongActivity(cont context.Context) (err error) {
|
|
|
if len(ApifoxModal.Result) > 0 {
|
|
|
actList := ApifoxModal.Result
|
|
|
for _, v := range actList {
|
|
|
+ //同步有效性 1有效,0失效
|
|
|
+ if v.SyncFlag == "0" {
|
|
|
+ continue
|
|
|
+ }
|
|
|
var item = new(models.CygxActivity)
|
|
|
item.YidongActivityId = v.ID
|
|
|
item.ActivityTypeId = 3
|