|
|
@@ -312,6 +312,7 @@ func CommSettleMoney(session *xorm.Session, item *model.TaskOrdListRelate, appNa |
|
|
|
if item.Pvd == "adset_video" { |
|
|
|
ItemTitle = "看视频奖励" |
|
|
|
} |
|
|
|
titles := ItemTitle |
|
|
|
if item.Level > 0 { |
|
|
|
ItemTitle = "团队任务奖励" |
|
|
|
if item.Pvd == "adset_video" { |
|
|
@@ -354,7 +355,7 @@ func CommSettleMoney(session *xorm.Session, item *model.TaskOrdListRelate, appNa |
|
|
|
kind = 5 |
|
|
|
title = "直推奖" |
|
|
|
} |
|
|
|
bools := PublicPlatoonAddRecordWithSession(session, title, utils.Int64ToStr(item.Oid), item.Uid, 0, kind, 0, item.Amount, beforeAmount) |
|
|
|
bools := PublicPlatoonAddRecordWithSession(session, title, utils.Int64ToStr(item.Oid), item.Uid, 0, kind, 0, item.Amount, beforeAmount, titles) |
|
|
|
if bools == false { |
|
|
|
return false |
|
|
|
} |
|
|
@@ -410,6 +411,7 @@ func CommSettleVirtualCoin(session *xorm.Session, virtualCoinRelateItem *model.V |
|
|
|
if mapData["title"] != "" { |
|
|
|
title = mapData["title"] + "奖励" |
|
|
|
} |
|
|
|
titles := title |
|
|
|
if virtualCoinRelateItem.Level > 0 { |
|
|
|
title = "团队任务奖励" |
|
|
|
if virtualCoinRelateItem.Pvd == "adset_video" { |
|
|
@@ -445,7 +447,7 @@ func CommSettleVirtualCoin(session *xorm.Session, virtualCoinRelateItem *model.V |
|
|
|
kind = 5 |
|
|
|
title = "直推奖" |
|
|
|
} |
|
|
|
bools := PublicPlatoonAddRecordWithSession(session, title, utils.Int64ToStr(virtualCoinRelateItem.Oid), virtualCoinRelateItem.Uid, virtualCoinRelateItem.CoinId, kind, 0, utils.StrToFloat64(virtualCoinRelateItem.Amount), beforeAmount) |
|
|
|
bools := PublicPlatoonAddRecordWithSession(session, title, utils.Int64ToStr(virtualCoinRelateItem.Oid), virtualCoinRelateItem.Uid, virtualCoinRelateItem.CoinId, kind, 0, utils.StrToFloat64(virtualCoinRelateItem.Amount), beforeAmount, titles) |
|
|
|
if bools == false { |
|
|
|
return false |
|
|
|
} |
|
|
|