Pārlūkot izejas kodu

更新

one_orenge
huangjiajun pirms 4 mēnešiem
vecāks
revīzija
415fbcb1c7
3 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. +3
    -0
      app/svc/svc_comm_deal_commission.go
  2. +1
    -0
      consume/md/md.go
  3. +1
    -0
      consume/zhios_relate_reward_exchange.go

+ 3
- 0
app/svc/svc_comm_deal_commission.go Parādīt failu

@@ -140,6 +140,9 @@ func CommSettleDone(eg *xorm.Engine, pvd string, oid int64, masterId string, map
if set != nil {
appName = set.Val
}
if mapData["pvd_oid"] != "" {
oid = utils.StrToInt64(mapData["pvd_oid"])
}
for _, item := range ol {
if mapData["reward_type"] == "2" && item.Level == 0 {
continue


+ 1
- 0
consume/md/md.go Parādīt failu

@@ -21,6 +21,7 @@ type ZhiosTaskReward struct {
RewardType string `json:"reward_type"`
PlanType string `json:"plan_type"`
Provider string `json:"provider"`
PvdOid string `json:"pvd_oid"`
}
type AcquisitionCfg struct {
Id string `json:"id"`


+ 1
- 0
consume/zhios_relate_reward_exchange.go Parādīt failu

@@ -93,6 +93,7 @@ func handleZhiosRelateRewardExchange(msg []byte) error {
"title": title,
"device_model": canalMsg.DeviceModel,
"reward_type": canalMsg.RewardType,
"pvd_oid": canalMsg.PvdOid,
}
svc.CommGetLvUser(eg, CommissionParam, utils.StrToInt64(canalMsg.Oid), mid, mapData)
return nil


Notiek ielāde…
Atcelt
Saglabāt