Commit fd6cf486 authored by liudong1993's avatar liudong1993

1修改业绩规则比例可为0

parent a6df4f52
...@@ -118,7 +118,7 @@ namespace Edu.WebApi.Controllers.Course ...@@ -118,7 +118,7 @@ namespace Edu.WebApi.Controllers.Course
return ApiResult.ParamIsNull("业绩金额有误,请核实后再试"); return ApiResult.ParamIsNull("业绩金额有误,请核实后再试");
} }
} }
if (demodel.RateList[i].Rate <= 0) { if (demodel.RateList[i].Rate < 0) {
return ApiResult.ParamIsNull("业绩提成比例有误"); return ApiResult.ParamIsNull("业绩提成比例有误");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment