Browse Source

更新

master
huangjiajun 6 months ago
parent
commit
0ae55aa1ff
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      app/task/svc/svc_tik_tok_csjp.go

+ 4
- 3
app/task/svc/svc_tik_tok_csjp.go View File

@@ -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")


Loading…
Cancel
Save