|
@@ -190,6 +190,9 @@ func OrdersTikTokGet(nextPositionIndex string, pageSize int, sTime, eTime int64, |
|
|
insertOne, err := db.ZhimengDb.InsertOne(ord) |
|
|
insertOne, err := db.ZhimengDb.InsertOne(ord) |
|
|
fmt.Println(insertOne) |
|
|
fmt.Println(insertOne) |
|
|
fmt.Println(err) |
|
|
fmt.Println(err) |
|
|
|
|
|
if v["team_type"] == "novajo" { |
|
|
|
|
|
ids = append(ids, utils.StrToInt64(ord.PvdOid)) |
|
|
|
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
ord.SettleTime = one.SettleTime |
|
|
ord.SettleTime = one.SettleTime |
|
|
if one.PlatformSettleTime > 0 { |
|
|
if one.PlatformSettleTime > 0 { |
|
@@ -200,9 +203,7 @@ func OrdersTikTokGet(nextPositionIndex string, pageSize int, sTime, eTime int64, |
|
|
} |
|
|
} |
|
|
db.ZhimengDb.Where("id=?", one.Id).AllCols().Update(ord) |
|
|
db.ZhimengDb.Where("id=?", one.Id).AllCols().Update(ord) |
|
|
} |
|
|
} |
|
|
if v["team_type"] == "novajo" { |
|
|
|
|
|
ids = append(ids, utils.StrToInt64(ord.PvdOid)) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
if len(ids) > 0 { |
|
|
if len(ids) > 0 { |
|
|
tiktokTeamNovajoId := offical.SysCfgByKeyStr("tikTok_team_novajo_id") |
|
|
tiktokTeamNovajoId := offical.SysCfgByKeyStr("tikTok_team_novajo_id") |
|
|