|
|
@@ -111,7 +111,7 @@ func HandleSettlementSignInGreenEnergy(ch *rabbit.Channel, engine *xorm.Engine, |
|
|
|
|
|
|
|
var reduceTotalGreenEnergy float64 |
|
|
|
//4.2给相应的用户加上个人的绿色积分(可用数量) |
|
|
|
var oneCirclesDealUserCoinData = md.OneCirclesDealUserCoinStruct{ |
|
|
|
var oneCirclesDealUserCoinData = md.DealUserCoinReq{ |
|
|
|
Kind: "add", |
|
|
|
Mid: masterId, |
|
|
|
Title: md.OneCirclesGreenEnergySignInSettlementPersonalReward, |
|
|
@@ -129,7 +129,7 @@ func HandleSettlementSignInGreenEnergy(ch *rabbit.Channel, engine *xorm.Engine, |
|
|
|
fmt.Println("err:::::3333", err1) |
|
|
|
return err1 |
|
|
|
} |
|
|
|
var oneCirclesDealUserCoinDataForParents []md.OneCirclesDealUserCoinStruct |
|
|
|
var oneCirclesDealUserCoinDataForParents []md.DealUserCoinReq |
|
|
|
var parentRewardValue = zhios_order_relate_utils.StrToFloat64(rewardValue) |
|
|
|
if relates != nil { |
|
|
|
for _, relate := range *relates { |
|
|
@@ -161,7 +161,7 @@ func HandleSettlementSignInGreenEnergy(ch *rabbit.Channel, engine *xorm.Engine, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
oneCirclesDealUserCoinDataForParents = append(oneCirclesDealUserCoinDataForParents, md.OneCirclesDealUserCoinStruct{ |
|
|
|
oneCirclesDealUserCoinDataForParents = append(oneCirclesDealUserCoinDataForParents, md.DealUserCoinReq{ |
|
|
|
Kind: "add", |
|
|
|
Mid: masterId, |
|
|
|
Title: md.OneCirclesGreenEnergySignInSettlementTeamReward, |
|
|
|