Browse Source

更新

guide_order
huangjiajun 7 months ago
parent
commit
4997164196
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      app/svc/svc_order_track_save.go

+ 4
- 0
app/svc/svc_order_track_save.go View File

@@ -59,6 +59,10 @@ func commCheckUser(eg *xorm.Engine, existOrd model.OrdList, ords map[string]md.O
}
return
}
if ords[existOrd.PvdOid].Commission <= 0 && utils.InArr(pvd, []string{md.PVD_JDOwn, md.PVD_JD}) {
//如果没佣金就不改
return
}
existOrd.BenefitAll = utils.FloatFormat(existOrd.BenefitAll, 2)
pvdList := []string{md.PVD_JDOwn, md.PVD_JD, "csjp", "csjp_live", md.PVD_TIKTOKLIFE, md.PVD_ELM, md.PVD_STATIONMEITUANLM, md.PVD_MEITUANLMSTART, md.PVD_MEITUANLM, md.PVD_MEITUAN, md.PVD_T3_CAR, md.PVD_WALLACE, md.PVD_TOURISM, md.PVD_DELIVERY, md.PVD_NEAR, md.PVD_FLOWERCAKE, md.PVD_TIKTOK, md.PVD_PIZZA, md.PVD_TIKTOKLIVE, md.PVD_KUAISHOU, md.PVD_KUAISHOULIVE, md.PVD_MEITUAN, md.PVD_MEITUANLM, md.PVD_CINEMA, md.PVD_KFC, md.PVD_HEYTEA, md.PVD_BURGERKING, md.PVD_STARBUCKS, md.PVD_MCDONALD, md.PVD_NAYUKI, md.PVD_LUCKIN, md.PVD_TO_KFC, md.PVD_PAGODA, md.PVD_KING_FLOWER, md.PVD_DIDI_ONLINE_CAR, md.PVD_DIDI_FREIGHT, md.PVD_DIDI_ENERGY, md.PVD_OILSTATION, md.PVD_DIDI_CHAUFFEUR}
fmt.Println("===============================111111111111111111111111111111")


Loading…
Cancel
Save