huangjiajun 6 mesi fa
parent
commit
0ae55aa1ff
1 ha cambiato i file con 4 aggiunte e 3 eliminazioni
  1. +4
    -3
      app/task/svc/svc_tik_tok_csjp.go

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

@@ -190,6 +190,9 @@ func OrdersTikTokGet(nextPositionIndex string, pageSize int, sTime, eTime int64,
insertOne, err := db.ZhimengDb.InsertOne(ord)
fmt.Println(insertOne)
fmt.Println(err)
if v["team_type"] == "novajo" {
ids = append(ids, utils.StrToInt64(ord.PvdOid))
}
} else {
ord.SettleTime = one.SettleTime
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)
}
if v["team_type"] == "novajo" {
ids = append(ids, utils.StrToInt64(ord.PvdOid))
}

}
if len(ids) > 0 {
tiktokTeamNovajoId := offical.SysCfgByKeyStr("tikTok_team_novajo_id")


Caricamento…
Annulla
Salva