dengbiao пре 4 месеци
родитељ
комит
efeac1c038
2 измењених фајлова са 3 додато и 15 уклоњено
  1. +0
    -12
      md/mq.go
  2. +3
    -3
      rule/one_circles/one_circles_sign_in_green_energy_settlement.go

+ 0
- 12
md/mq.go Прегледај датотеку

@@ -36,15 +36,3 @@ type OneCirclesStructForStarLevelDividends struct {
Uid int `json:"uid"`
SignDividend float64 `json:"sign_dividend"`
}

type OneCirclesDealUserCoinStruct struct {
Kind string `json:"kind"`
Mid string `json:"mid"`
Title string `json:"title"`
TransferType int `json:"transfer_type"`
OrdId string `json:"ord_id"`
CoinId int `json:"coin_id"`
Uid int `json:"uid"`
ToUid int `json:"to_uid"`
Amount float64 `json:"amount"`
}

+ 3
- 3
rule/one_circles/one_circles_sign_in_green_energy_settlement.go Прегледај датотеку

@@ -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,


Loading…
Откажи
Сачувај