diff --git a/o2o/add_store_commission.go b/o2o/add_store_commission.go index 0b85dd8..fbf191a 100644 --- a/o2o/add_store_commission.go +++ b/o2o/add_store_commission.go @@ -36,7 +36,7 @@ func AddStoreCommission(eg *xorm.Engine, args map[string]string) { if relate != nil { return } - amount := zhios_o2o_business_utils.StrToFloat64(args["amount"]) * zhios_o2o_business_utils.StrToFloat64(args["bili"]) + amount := zhios_o2o_business_utils.StrToFloat64(args["commission"]) * zhios_o2o_business_utils.StrToFloat64(args["bili"]) if amount == 0 { return }