Browse Source

更新

master
huangjiajun 11 months ago
parent
commit
3ffc2e888b
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      chain_transfer/svc/svc_turnchain.go

+ 8
- 0
chain_transfer/svc/svc_turnchain.go View File

@@ -38,6 +38,14 @@ func TurnChainFeatures(eg *xorm.Engine, tikTokBase map[string]string, user *mode
)
userProfile, _ := db.UserProfileFindByID(eg, user.Uid)
if userProfile != nil {
if pvd == md.PVD_TB || pvd == md.PVD_TM {
//新的渠道id 存储
relation := db.GetTaobaoUserRelationByUid(eg, userProfile.Uid)
if relation != nil {
userProfile.AccTaobaoShareId = relation.RelationId
tikTokBase["union_id"] = zhios_third_party_utils.IntToStr(relation.UnionId)
}
}
tikTokBase["acc_taobao_share_id"] = zhios_third_party_utils.Int64ToStr(userProfile.AccTaobaoShareId)
if userProfile.AccJdCloudId == "" {
userProfile.AccJdCloudId = userProfile.AccJdShareId


Loading…
Cancel
Save