Commit d0e9d33f authored by liudong1993's avatar liudong1993

使用课程卡 订单金额可为0

parent bcfb6b13
......@@ -580,7 +580,7 @@ namespace Mall.WebApi.Controllers.MallBase
}
}
if ((demodel.Income ?? 0) <= 0)
if ((demodel.Use_Education_Id ?? 0) == 0 && (demodel.Income ?? 0) <= 0)
{
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