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