This commit is contained in:
邹宗楠
2025-02-08 11:35:30 +08:00
parent b5503198d2
commit c0982e03ff
5 changed files with 71 additions and 37 deletions

View File

@@ -4667,7 +4667,10 @@ func RefreshTiktokShopToken(ctx *jxcontext.Context) (err error) {
v.UpdatedAt = time.Now()
v.StoreBrandName = "定时任务更新"
dao.UpdateEntity(db, v, "Token", "UpdatedAt", "StoreBrandName")
tiktok_store.HttpToGuoYuan(utils.Struct2MapByJson(v), tiktok_store.CaiShiPushGyTagToken, model.ServerTypeFruits)
if v.VendorOrgCode == "68023619" {
// 抖音目前只有菜市和百货
tiktok_store.HttpToGuoYuan(utils.Struct2MapByJson(v), tiktok_store.CaiShiPushGyTagToken, model.ServerTypePet)
}
}
}
}